Search plugin: Or browse by category:
cpan-package summary
Plugin Name: cpan-package
Version: 0.1.0
Author: @melezhik
Realease Date: 2016-08-22 09:39:53
Short Description: simple cpan modules installer
Category: sparrowdo
Plugin web page: https://github.com/melezhik/cpan-package
Download link: cpan-package-v0.001000.tar.gz
Latest version link: https://sparrowhub.org/info/cpan-package
cpan-package documentation
cpan-package doc

SYNOPSIS

CPAN modules installer

Prerequisites

cpanm client ( as it used to install cpan modules )

INSTALL

$ sparrow plg install cpan-package

USAGE

Manually

$ sparrow plg run --param list="'CGI DBI Moose'"

Via sparrowdo

task_run  %(
  task => 'install some modules',
  plugin => 'cpan-package',
  parameters => %( 
    list => 'CGI DBI Moose',
    install-base => '/var/app/'
  )
);

Plugin parameters

list

Should be space separated list of packages to install. For example:

list CGI DBI Moose

install-base

Specify the install base to install modules. See also -l parameter for cpanm client.

user

Specify a user which runs installer process. Normally you would need it when install modules into someone's home directory.

http_proxy

Specify http proxy server to use when installing cpan packages

https_proxy

Specify https proxy server to use when installing cpan packages

AUTHOR

Alexey Melezhik