CPAN::FirstTime

CPAN::FirstTime is a Perl utility for CPAN::Config file initialization.
Download

CPAN::FirstTime Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Andreas J. Knig
  • Publisher web site:
  • http://search.cpan.org/~andk/CPAN-1.9205/lib/CPAN/Version.pm

CPAN::FirstTime Tags


CPAN::FirstTime Description

CPAN::FirstTime is a Perl utility for CPAN::Config file initialization. CPAN::FirstTime is a Perl utility for CPAN::Config file initialization.SYNOPSISCPAN::FirstTime::init()The init routine asks a few questions and writes a CPAN/Config.pm or CPAN/MyConfig.pm file (depending on what it is currently using).In the following all questions and explanations regarding config variables are collected.auto_commitNormally CPAN.pm keeps config variables in memory and changes need to be saved in a separate 'o conf commit' command to make them permanent between sessions. If you set the 'auto_commit' option to true, changes to a config variable are always automatically committed to disk.Always commit changes to config variables to disk?build_cacheCPAN.pm can limit the size of the disk area for keeping the build directories with all the intermediate files.Cache size for build directory (in MB)?build_dirDirectory where the build process takes place?build_dir_reuseUntil version 1.88 CPAN.pm never trusted the contents of the build_dir directory between sessions. Since 1.88_58 CPAN.pm has a YAML-based mechanism that makes it possible to share the contents of the build_dir/ directory between different sessions with the same version of perl. People who prefer to test things several days before installing will like this feature because it safes a lot of time.If you say yes to the following question, CPAN will try to store enough information about the build process so that it can pick up in future sessions at the same state of affairs as it left a previous session.Store and re-use state information about distributions between CPAN.pm sessions?build_requires_install_policyWhen a module declares another one as a 'build_requires' prerequisite this means that the other module is only needed for building or testing the module but need not be installed permanently. In this case you may wish to install that other module nonetheless or just keep it in the 'build_dir' directory to have it available only temporarily. Installing saves time on future installations but makes the perl installation bigger.You can choose if you want to always install (yes), never install (no) or be always asked. In the latter case you can set the default answer for the question to yes (ask/yes) or no (ask/no).Policy on installing 'build_requires' modules (yes, no, ask/yes, ask/no)?cache_metadataTo considerably speed up the initial CPAN shell startup, it is possible to use Storable to create a cache of metadata. If Storable is not available, the normal index mechanism will be used.Note: this mechanism is not used when use_sqlite is on and SQLLite is running.Cache metadata (yes/no)?check_sigsCPAN packages can be digitally signed by authors and thus verified with the security provided by strong cryptography. The exact mechanism is defined in the Module::Signature module. While this is generally considered a good thing, it is not always convenient to the end user to install modules that are signed incorrectly or where the key of the author is not available or where some prerequisite for Module::Signature has a bug and so on.With the check_sigs parameter you can turn signature checking on and off. The default is off for now because the whole tool chain for the functionality is not yet considered mature by some. The author of CPAN.pm would recommend setting it to true most of the time and turning it off only if it turns out to be annoying.Note that if you do not have Module::Signature installed, no signature checks will be performed at all.Always try to check and verify signatures if a SIGNATURE file is in the package and Module::Signature is installed (yes/no)?colorize_outputWhen you have Term::ANSIColor installed, you can turn on colorized output to have some visual differences between normal CPAN.pm output, warnings, debugging output, and the output of the modules being installed. Set your favorite colors after some experimenting with the Term::ANSIColor module. Requirements: · Perl


CPAN::FirstTime Related Software