cpan-package summary

Plugin Name: cpan-package
Version: 0.1.3
Author: @melezhik
Realease Date: 2017-10-16 18:37:39
Short Description: simple cpan modules installer
Category: sparrowdo
Plugin web page: https://github.com/melezhik/cpan-package
 
Download link: cpan-package-v0.001003.tar.gz
Latest version link: https://sparrowhub.org/info/cpan-package

# 0.1.3

Throw an errors in fails to install CPAN module

# 0.1.2

Use `type -P bash` to resolve bash

# 0.1.1

Don't use --shell `which bash` because it requires which installed

cpan-package documentation

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