The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

only::install - Install multiple versions of modules

SYNOPSIS

    use only::install qw(install);
    
    chdir($module_installation_directory);
    
    install;
    
    install(version => 1.23,
            versionlib => '/my/version/lib',
           );

DESCRIPTION

This module provides the programmer's API for installing multiple versions of a module. There is only one exportable function: install.

In order to install, you must be chdir()ed into a valid module distribution directory, and make or ./Build must already have been run. More specifically, there must be a blib directory and either a Makefile or a META.yml file.

ARGUMENTS

  • version

    The version parameter tells install which version to install the distribution modules under. You normally don't need this, since install can extrapolate the vaule from the Makefile or from the META.yml file.

  • versionlib

    The versionlib parameter tells where to install the distribution contents. The default is stored in only::config.

AUTHOR

Brian Ingerson <INGY@cpan.org>

COPYRIGHT

Copyright (c) 2003. Brian Ingerson. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html