NAME
Devel::IPerl::Plugin::CpanMinus - cpanm client
DESCRIPTION
This plugin enables users to curate local::lib as set up in Devel::IPerl::Plugin::Perlbrew.
Once users have access to Devel::IPerl::Plugin::Perlbrew they wish to have the ability to curate the libraries they create. While this is easy to achieve at the command line, the notebook is an excellent place to document this workflow as well.
SYNOPSIS
IPerl->load_plugin('CpanMinus') unless IPerl->can('cpanm');
# create and use a library
IPerl->perlbrew_lib_create('cpanm-test');
IPerl->perlbrew('cpanm-test');
# install dependencies for notebook
IPerl->cpanm_installdeps('.');
# install a specific module
IPerl->cpanm('Test::Pod');
IPerl Interface Method
register
Called by IPerl->load_plugin('CpanMinus')
.
REGISTERED METHODS
These all take as arguments any arguments that are accepted by the command line client cpanm.
cpanm
# install a specific module
IPerl->cpanm('Test::Pod');
Use cpanm to install the given module.
cpanm_info
IPerl->cpanm_info('Test::Pod');
Displays the distribution information in "AUTHOR/Dist-Name-ver.tar.gz" format.
cpanm_installdeps
# install dependencies as listed in cpanfile in current directory
IPerl->cpanm_installdeps('.');
# install dependencies for a module
IPerl->cpanm_installdeps('-n', '--quiet', 'Test::Pod');