Main > Programming > Libraries >

Module::AutoINC 0.02

Module::AutoINC 0.02

Sponsored Links

Module::AutoINC 0.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.005 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 895
Date added: 2007-05-12
Publisher: Mike MacKenzie

Module::AutoINC 0.02 description



SYNOPSIS

perl -MModule::AutoINC < script >

ABSTRACT

When Module::AutoINC is loaded, it will add itself to @INC and catch any requests for missing resources. If a Perl module is requested that has not been installed, then this will attempt to load it. Under Active State Perl (or any Perl where PPM is available), PPM will attempt to install it. Otherwise CPAN will be queried and, assuming that the module exists on CPAN, CPAN::Shell will be invoked to install it. Execution of the script continues after the requisite module has been installed.

Module::AutoINC is a slightly useful tool designed to streamline the process of installing the modules required by a script. By loading the Module::AutoINC module (usually via a "-MModule::AutoINC" command-line option), the user is registering a handler that will catch any attempt to use a module that does not exist on the local machine. In this case, the CPAN::Shell module will be invoked to search for the specified module and, if found, an attempt will be made to install the module. If successful, the module will be loaded and execution will continue as normal.

Imported Symbols

You can modify the behavior of the module slightly using several import symbols. All import symbols are case-insensitive.

If you import the special symbol force then the installation of the module(s) will be forced. The definition of a forced installation varies depending on whether you are installing using PPM or CPAN. See the relevant documentation for each system for more information.

You can override the installation method detection using the import symbols, cpan or ppm. cpan will cause CPAN to be used for module installation no matter whether PPM is available or not. ppm will attempt to install the module using PPM regardless of whether ppm is findable by Module::AutoINC. Of course, you should know what you are doing if you use these import symbols.

Examples

perl -MModule::AutoINC -MLingua::Num2Word=cardinal -le print cardinal("en", 42)

...will download and install Lingua::Num2Word and Lingua::EN::Num2Word.

perl -MModule::AutoINC=cpan -MLingua::Num2Word=cardinal -le print cardinal("de", 42)

...will then download and install (using CPAN, even under ActiveState Perl) Lingua::DE::Num2Word (German).

perl -MModule::AutoINC=force -MLingua::Num2Word=cardinal -le print cardinal("es", 42)

...will then download and install (forcefully) Lingua::ES::Numeros (Spanish).

Module::AutoINC 0.02 Screenshot

Advertisements

Module::AutoINC 0.02 Keywords

Bookmark Module::AutoINC 0.02

Hyperlink code:
Link for forum:

Module::AutoINC 0.02 Copyright

WareSeeker periodically updates pricing and software information of Module::AutoINC 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Module::AutoINC 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Module::Build is a Perl module for build and install Perl modules. Free Download
Module::Build::JSAN is a Perl module to build JavaScript modules for JSAN. Free Download
XML::Quick is a Perl module to generate XML from hashes (and other data). Free Download
App::Modular is a Perl module with modularization framework for perl programs. Free Download
Module::Signature is a Perl module signature file manipulation. Free Download
AudioCD is a Perl module for basic Audio CD control. Free Download
Module::Starter::Smart is a Perl module that lets you add new modules into an existing distribution. Free Download
Module::Starter::PBP is a Perl module to create a module as recommended in "Perl Best Practices". Free Download