Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Module::AutoInstall 1.00

    Download button

    No screenshots available
    Downloads: 407  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Audrey Tang and Adam Kennedy | More programs
    Perl Artistic License / FREE
    December 17th, 2007, 21:33 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Module::AutoInstall description

    It can automatic install of dependencies via CPAN.

    Module::AutoInstall can automatic install of dependencies via CPAN.

    SYNOPSIS

    In Makefile.PL, with Module::Install available on the author's system:
    use inc::Module::Install;

    name 'Joe-Hacker';
    abstract 'Perl Interface to Joe Hacker';
    author 'Joe Hacker ';
    include 'Module::AutoInstall';

    requires 'Module0'; # mandatory modules

    feature 'Feature1',
    -default => 0,
    'Module2' => '0.1';

    feature 'Feature2',
    -default => 0,
    'Module3' => '1.0';


    auto_install(
    make_args => '--hello', # option(s) for CPAN::Config
    force => 1, # pseudo-option to force install
    do_once => 1, # skip previously failed modules
    );

    WriteAll;

    Invoking the resulting Makefile.PL:

    % perl Makefile.PL # interactive behaviour
    % perl Makefile.PL --defaultdeps # accept default value on prompts
    % perl Makefile.PL --checkdeps # check only, no Makefile produced
    % perl Makefile.PL --skipdeps # ignores all dependencies
    % perl Makefile.PL --testonly # don't write installation targets

    Note that the trailing 'deps' of arguments may be omitted, too.

    Using --defaultdeps will make Makefile.PL behave similarly to a regular Makefile.PL file with PREREQ_PM dependencies.

    One can use environment variables (see "ENVIRONMENT") below to set a default behavior instead of specifying it in the command line for every invocation of Makefile.PL.

    Using make (or nmake):

    % make [all|test|install] # install dependencies first
    % make checkdeps # same as the --checkdeps above
    % make installdeps # install dependencies only


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    CPAN dependencies | install dependencies | Perl module | CPAN | dependencies | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM