The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bundler

Author

Alexey Melezhik / melezhik@gmail.com

SYNOPSIS

    This is CPANPLUS pluggin. Install/Remove all packages from given `bundle' file.
    Inspired by ruby bundler.

    # in cpanp client session
    /? bundle
    /bundle install # installing
    /bundle remove # removing

USAGE

    /? bundle
    /bundle [install|remove] [options]

Format of .bunlde file

every line of .bundle file have a form of <MODULE-ITEM> [<MINIMAL-VERSION>] [# comments]

MODULE-ITEM

for the explanation of the module item see "parse_module" method documentation on http://search.cpan.org/perldoc?CPANPLUS::Backend, in common case it should be the name of CPAN module to install/remove

MINIMAL-VERSION

Minimal version of the module to be installed, if module already installed and has version higher or equal to minimal, it won't be installed.

If minimal version is not set, Bundler would update module to the latest version.

If minimal version is set to '0', Bundler would only install module if it's not installed at all.

Comments

may occur and should be started with #

 # this is comment

Examples of .bundle file

update CGI module to latest version

 CGI
 

update CGI module to latest version if current version < 3.58

 CGI 3.58
 

install CGI module only if not installed

 CGI 0
 

install from given url path

 http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI.pm-3.59.tar.gz

OPTIONS

 --bundle_file # path to bundle file
 --dry-run # dry-run mode - just to show what would happen and to do nothing

ACKNOWLEDGMENTS

 to the authors of ruby bundler
 to Chris Williams - the author of the CPANPLUS

SEE ALSO

 http://search.cpan.org/perldoc?CPANPLUS 
 http://gembundler.com/