™.. CPAN - Online Linux Manual PageSection : 3pm
Updated : 2009-06-27
Source : perl v5.10.1
Note : Perl Programmers Reference Guide

NAMECPAN − query, download and build perl modules from CPAN sites

SYNOPSISInteractive mode: ​ perl −MCPAN −e shell ​−−or\*(-- ​ cpan Basic commands: ​ # Modules: ​ ​ cpan> install Acme::Meta # in the shell ​ ​ CPAN::Shell−>install("Acme::Meta"); # in perl ​ ​ # Distributions: ​ ​ cpan> install NWCLARK/Acme−Meta−0.02.tar.gz # in the shell ​ ​ CPAN::Shell−> ​ install("NWCLARK/Acme−Meta−0.02.tar.gz"); # in perl ​ ​ # module objects: ​ ​ $mo = CPAN::Shell−>expandany($mod); ​ $mo = CPAN::Shell−>expand("Module",$mod); # same thing ​ ​ # distribution objects: ​ ​ $do = CPAN::Shell−>expand("Module",$mod)>distribution; ​ $do = CPAN::Shell−>expandany($distro); # same thing ​ $do = CPAN::Shell−>expand("Distribution", ​ $distro); # same thing

DESCRIPTIONThe CPAN module automates or at least simplifies the make and install of perl modules and extensions. It includes some primitive searching capabilities and knows how to use Net::FTP, LWP, and certain external download clients to fetch distributions from the net. These are fetched from one or more mirrored CPAN (Comprehensive Perl Archive Network) sites and unpacked in a dedicated directory. The CPAN module also supports named and versioned ​bundles of modules. Bundles simplify handling of sets of related modules. See Bundles below. The package contains a session manager and a cache manager. The session manager keeps track of what has been fetched, built, and installed in the current session. The cache manager keeps track of the disk space occupied by the make processes and deletes excess space using a simple FIFO mechanism. All methods provided are accessible in a programmer style and in an interactive shell style.

CPAN::shell([$prompt, $command]) Starting Interactive ModeEnter interactive mode by running ​ perl −MCPAN −e shell or ​ cpan which puts you into a readline interface. If \*(C`Term::ReadKey\*(C'\fR and either of \*(C`Term::ReadLine::Perl\*(C'\fR or \f(CW\*(C`Term::ReadLine::Gnu\*(C'\fR are installed, history and command completion are supported. Once at the command line, type \*(C`h\*(C'\fR for one-page help screen; the rest should be self-explanatory. The function call \*(C`shell\*(C'\fR takes two optional arguments: one the prompt, the second the default initial command line (the latter only works if a real ReadLine interface module is installed). The most common uses of the interactive modes are Searching for authors, bundles, distribution files and modules There are corresponding one-letter commands \*(C`a\*(C'\fR, \f(CW\*(C`b\*(C'\fR, \f(CW\*(C`d\*(C'\fR, and \f(CW\*(C`m\*(C'\fR for each of the four categories and another, \*(C`i\*(C'\fR for any of the mentioned four. Each of the four entities is implemented as a class with slightly differing methods for displaying an object. Arguments to these commands are either strings exactly matching the identification string of an object, or regular expressions matched case-insensitively against various attributes of the objects. The parser only recognizes a regular expression when you enclose it with slashes. The principle is that the number of objects found influences how an item is displayed. If the search finds one item, the result is displayed with the rather verbose method \*(C`as_string\*(C'\fR, but if more than one is found, each object is displayed with the terse method ​\*(C`as_glimpse\*(C'\fR. Examples: ​ cpan> m Acme::MetaSyntactic ​ Module id = Acme::MetaSyntactic ​ CPAN_USERID BOOK (Philippe Bruhat (BooK) <[...]>) ​ CPAN_VERSION 0.99 ​ CPAN_FILE B/BO/BOOK/Acme−MetaSyntactic−0.99.tar.gz ​ UPLOAD_DATE 2006−11−06 ​ MANPAGE Acme::MetaSyntactic − Themed metasyntactic variables names ​ INST_FILE /usr/local/lib/perl/5.10.0/Acme/MetaSyntactic.pm ​ INST_VERSION 0.99 ​ cpan> a BOOK ​ Author id = BOOK ​ EMAIL [...] ​ FULLNAME Philippe Bruhat (BooK) ​ cpan> d BOOK/Acme−MetaSyntactic−0.99.tar.gz ​ Distribution id = B/BO/BOOK/Acme−MetaSyntactic−0.99.tar.gz ​ CPAN_USERID BOOK (Philippe Bruhat (BooK) <[...]>) ​ CONTAINSMODS Acme::MetaSyntactic Acme::MetaSyntactic::Alias [...] ​ UPLOAD_DATE 2006−11−06 ​ cpan> m /lorem/ ​ Module = Acme::MetaSyntactic::loremipsum (BOOK/Acme−MetaSyntactic−0.99.tar.gz) ​ Module Text::Lorem (ADEOLA/Text−Lorem−0.3.tar.gz) ​ Module Text::Lorem::More (RKRIMEN/Text−Lorem−More−0.12.tar.gz) ​ Module Text::Lorem::More::Source (RKRIMEN/Text−Lorem−More−0.12.tar.gz) ​ cpan> i /berlin/ ​ Distribution BEATNIK/Filter−NumberLines−0.02.tar.gz ​ Module = DateTime::TimeZone::Europe::Berlin (DROLSKY/DateTime−TimeZone−0.7904.tar.gz) ​ Module Filter::NumberLines (BEATNIK/Filter−NumberLines−0.02.tar.gz) ​ Author [...] The examples illustrate several aspects: the first three queries target modules, authors, or distros directly and yield exactly one result. The last two use regular expressions and yield several results. The last one targets all of bundles, modules, authors, and distros simultaneously. When more than one result is available, they are printed in one-line format. get, make, test, install, clean modules or distributions These commands take any number of arguments and investigate what is necessary to perform the action. If the argument is a distribution file name (recognized by embedded slashes), it is processed. If it is a module, CPAN determines the distribution file in which this module is included and processes that, following any dependencies named in the module's META.yml or Makefile.PL (this behavior is controlled by the configuration parameter \*(C`prerequisites_policy\*(C'\fR.) \*(C`get\*(C'\fR downloads a distribution file and untars or unzips it, \f(CW\*(C`make\*(C'\fR builds it, \*(C`test\*(C'\fR runs the test suite, and \f(CW\*(C`install\*(C'\fR installs it. Any \*(C`make\*(C'\fR or \f(CW\*(C`test\*(C'\fR is run unconditionally. An ​ install <distribution_file> is also run unconditionally. But for ​ install <module> CPAN checks whether an install is needed and prints ​module up to date if the distribution file containing the module doesn't need updating. CPAN also keeps track of what it has done within the current session and doesn't try to build a package a second time regardless of whether it succeeded or not. It does not repeat a test run if the test has been run successfully before. Same for install runs. The \*(C`force\*(C'\fR pragma may precede another command (currently: \f(CW\*(C`get\*(C'\fR, ​\*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR, or \f(CW\*(C`install\*(C'\fR) to execute the command from scratch and attempt to continue past certain errors. See the section below on the \*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. The \*(C`notest\*(C'\fR pragma skips the test part in the build process. Example: ​ cpan> notest install Tk A \*(C`clean\*(C'\fR command results in a ​ make clean being executed within the distribution file's working directory. readme, perldoc, look module or distribution \*(C`readme\*(C'\fR displays the \s-1README\s0 file of the associated distribution. ​\*(C`Look\*(C'\fR gets and untars (if not yet done) the distribution file, changes to the appropriate directory and opens a subshell process in that directory. \*(C`perldoc\*(C'\fR displays the module's pod documentation in html or plain text format. ls author ls globbing_expression The first form lists all distribution files in and below an author's ​CPAN directory as stored in the CHECKUMS files distributed on ​CPAN. The listing recurses into subdirectories. The second form limits or expands the output with shell globbing as in the following examples: ​ ls JV/make* ​ ls GSAR/*make* ​ ls */*make* The last example is very slow and outputs extra progress indicators that break the alignment of the result. Note that globbing only lists directories explicitly asked for, for example FOO/* will not list FOO/bar/Acme−Sthg−n.nn.tar.gz. This may be regarded as a bug that may be changed in some future version. failed The \*(C`failed\*(C'\fR command reports all distributions that failed on one of ​\*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR or \f(CW\*(C`install\*(C'\fR for some reason in the currently running shell session. Persistence between sessions If the \*(C`YAML\*(C'\fR or the \f(CW\*(C`YAML::Syck\*(C'\fR module is installed a record of the internal state of all modules is written to disk after each step. The files contain a signature of the currently running perl version for later perusal. If the configurations variable \*(C`build_dir_reuse\*(C'\fR is set to a true value, then CPAN.pm reads the collected YAML files. If the stored signature matches the currently running perl, the stored state is loaded into memory such that persistence between sessions is effectively established. The force and the fforce pragma To speed things up in complex installation scenarios, CPAN.pm keeps track of what it has already done and refuses to do some things a second time. A \*(C`get\*(C'\fR, a \f(CW\*(C`make\*(C'\fR, and an \f(CW\*(C`install\*(C'\fR are not repeated. A \*(C`test\*(C'\fR is repeated only if the previous test was unsuccessful. The diagnostic message when CPAN.pm refuses to do something a second time is one of Has already been \*(C`unwrapped|made|tested successfully\*(C'\fR or something similar. Another situation where CPAN refuses to act is an ​\*(C`install\*(C'\fR if the corresponding \f(CW\*(C`test\*(C'\fR was not successful. In all these cases, the user can override this stubborn behaviour by prepending the command with the word force, for example: ​ cpan> force get Foo ​ cpan> force make AUTHOR/Bar−3.14.tar.gz ​ cpan> force test Baz ​ cpan> force install Acme::Meta Each forced command is executed with the corresponding part of its memory erased. The \*(C`fforce\*(C'\fR pragma is a variant that emulates a \f(CW\*(C`force get\*(C'\fR which erases the entire memory followed by the action specified, effectively restarting the whole get/make/test/install procedure from scratch. Lockfile Interactive sessions maintain a lockfile, by default \*(C`~/.cpan/.lock\*(C'\fR. Batch jobs can run without a lockfile and not disturb each other. The shell offers to run in downgraded mode when another process is holding the lockfile. This is an experimental feature that is not yet tested very well. This second shell then does not write the history file, does not use the metadata file, and has a different prompt. Signals CPAN.pm installs signal handlers for SIGINT and SIGTERM. While you are in the cpan-shell, it is intended that you can press \*(C`^C\*(C'\fR anytime and return to the cpan-shell prompt. A SIGTERM will cause the cpan-shell to clean up and leave the shell loop. You can emulate the effect of a ​SIGTERM by sending two consecutive SIGINTs, which usually means by pressing \*(C`^C\*(C'\fR twice. CPAN.pm ignores SIGPIPE. If the user sets \*(C`inactivity_timeout\*(C'\fR, a ​SIGALRM is used during the run of the \*(C`perl Makefile.PL\*(C'\fR or \f(CW\*(C`perl Build.PL\*(C'\fR subprocess.

CPAN::ShellThe commands available in the shell interface are methods in the package CPAN::Shell. If you enter the shell command, your input is split by the Text::ParseWords::shellwords() routine, which acts like most shells do. The first word is interpreted as the method to be invoked, and the rest of the words are treated as the method's arguments. Continuation lines are supported by ending a line with a literal backslash.

autobundle\*(C`autobundle\*(C'\fR writes a bundle file into the ​\*(C`$CPAN::Config\->{cpan_home}/Bundle\*(C'\fR directory. The file contains a list of all modules that are both available from CPAN and currently installed within @INC. The name of the bundle file is based on the current date and a counter.

hostsNote: this feature is still in alpha state and may change in future versions of CPAN.pm This commands provides a statistical overview over recent download activities. The data for this is collected in the YAML file ​\*(C`FTPstats.yml\*(C'\fR in your \f(CW\*(C`cpan_home\*(C'\fR directory. If no \s-1YAML\s0 module is configured or YAML not installed, no stats are provided.

mkmyconfigmkmyconfig() writes your own CPAN::MyConfig file into your \*(C`~/.cpan/\*(C'\fR directory so that you can save your own preferences instead of the system-wide ones.

recent ***EXPERIMENTAL COMMAND***The \*(C`recent\*(C'\fR command downloads a list of recent uploads to \s-1CPAN\s0 and displays them slowly. While the command is running, a $SIG{INT} exits the loop after displaying the current item. Note: This command requires XML::LibXML installed. Note: This whole command currently is just a hack and will probably change in future versions of CPAN.pm, but the general approach will likely remain. Note: See also smoke

recompilerecompile() is a special command that takes no argument and runs the make/test/install cycle with brute force over all installed dynamically loadable extensions (aka XS modules) with 'force' in effect. The primary purpose of this command is to finish a network installation. Imagine you have a common source tree for two different architectures. You decide to do a completely independent fresh installation. You start on one architecture with the help of a Bundle file produced earlier. CPAN installs the whole Bundle for you, but when you try to repeat the job on the second architecture, CPAN responds with a "Foo up to date" message for all modules. So you invoke CPAN's recompile on the second architecture and you're done. Another popular use for \*(C`recompile\*(C'\fR is to act as a rescue in case your perl breaks binary compatibility. If one of the modules that CPAN uses is in turn depending on binary compatibility (so you cannot run CPAN commands), then you should try the CPAN::Nox module for recovery.

report Bundle|Distribution|ModuleThe \*(C`report\*(C'\fR command temporarily turns on the \f(CW\*(C`test_report\*(C'\fR config variable, then runs the \*(C`force test\*(C'\fR command with the given arguments. The \*(C`force\*(C'\fR pragma reruns the tests and repeats every step that might have failed before.

smoke ***EXPERIMENTAL COMMAND****** WARNING: this command downloads and executes software from CPAN to your computer of completely unknown status. You should never do this with your normal account and better have a dedicated well separated and secured machine to do this. *** The \*(C`smoke\*(C'\fR command takes the list of recent uploads to \s-1CPAN\s0 as provided by the \*(C`recent\*(C'\fR command and tests them all. While the command is running $SIG{INT} is defined to mean that the current item shall be skipped. Note: This whole command currently is just a hack and will probably change in future versions of CPAN.pm, but the general approach will likely remain. Note: See also recent

upgrade [Module|/Regex/]...The \*(C`upgrade\*(C'\fR command first runs an \f(CW\*(C`r\*(C'\fR command with the given arguments and then installs the newest versions of all modules that were listed by that.

The four CPAN::* Classes: Author, Bundle, Module, DistributionAlthough it may be considered internal, the class hierarchy does matter for both users and programmer. CPAN.pm deals with the four classes mentioned above, and those classes all share a set of methods. Classical single polymorphism is in effect. A metaclass object registers all objects of all kinds and indexes them with a string. The strings referencing objects have a separated namespace (well, not completely separated): ​ Namespace Class ​ ​ words containing a "/" (slash) Distribution ​ words starting with Bundle:: Bundle ​ everything else Module or Author Modules know their associated Distribution objects. They always refer to the most recent official release. Developers may mark their releases as unstable development versions (by inserting an underbar into the module version number which will also be reflected in the distribution name when you run 'make dist'), so the really hottest and newest distribution is not always the default. If a module Foo circulates on CPAN in both version 1.23 and 1.23_90, CPAN.pm offers a convenient way to install version 1.23 by saying ​ install Foo This would install the complete distribution file (say BAR/Foo−1.23.tar.gz) with all accompanying material. But if you would like to install version 1.23_90, you need to know where the distribution file resides on CPAN relative to the authors/id/ directory. If the author is BAR, this might be BAR/Foo−1.23_90.tar.gz; so you would have to say ​ install BAR/Foo−1.23_90.tar.gz The first example will be driven by an object of the class CPAN::Module, the second by an object of class CPAN::Distribution.

Integrating local directoriesNote: this feature is still in alpha state and may change in future versions of CPAN.pm Distribution objects are normally distributions from the CPAN, but there is a slightly degenerate case for Distribution objects, too, of projects held on the local disk. These distribution objects have the same name as the local directory and end with a dot. A dot by itself is also allowed for the current directory at the time CPAN.pm was used. All actions such as \*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR, and \f(CW\*(C`install\*(C'\fR are applied directly to that directory. This gives the command \*(C`cpan .\*(C'\fR an interesting touch: while the normal mantra of installing a CPAN module without CPAN.pm is one of ​ perl Makefile.PL perl Build.PL ​ ( go and get prerequisites ) ​ make ./Build ​ make test ./Build test ​ make install ./Build install the command \*(C`cpan .\*(C'\fR does all of this at once. It figures out which of the two mantras is appropriate, fetches and installs all prerequisites, takes care of them recursively, and finally finishes the installation of the module in the current directory, be it a CPAN module or not. The typical usage case is for private modules or working copies of projects from remote repositories on the local disk.

RedirectionThe usual shell redirection symbols \*(C` | \*(C'\fR and \f(CW\*(C`>\*(C'\fR are recognized by the cpan shell only when surrounded by whitespace. So piping to pager or redirecting output into a file works somewhat as in a normal shell, with the stipulation that you must type extra spaces.

CONFIGURATIONWhen the CPAN module is used for the first time, a configuration dialogue tries to determine a couple of site specific options. The result of the dialog is stored in a hash reference $CPAN::Config in a file CPAN/Config.pm. Default values defined in the CPAN/Config.pm file can be overridden in a user specific file: CPAN/MyConfig.pm. Such a file is best placed in \*(C`$HOME/.cpan/CPAN/MyConfig.pm\*(C'\fR, because \f(CW\*(C`$HOME/.cpan\*(C'\fR is added to the search path of the CPAN module before the use() or ​require() statements. The mkmyconfig command writes this file for you. The \*(C`o conf\*(C'\fR command has various bells and whistles: completion support If you have a ReadLine module installed, you can hit TAB at any point of the commandline and \*(C`o conf\*(C'\fR will offer you completion for the built-in subcommands and/or config variable names. displaying some help: o conf help Displays a short help displaying current values: o conf [KEY] Displays the current value(s) for this config variable. Without KEY, displays all subcommands and config variables. Example: ​ o conf shell If KEY starts and ends with a slash, the string in between is treated as a regular expression and only keys matching this regex are displayed Example: ​ o conf /color/ changing of scalar values: o conf KEY VALUE Sets the config variable KEY to VALUE. The empty string can be specified as usual in shells, with '' or "" Example: ​ o conf wget /usr/bin/wget changing of list values: o conf KEY SHIFT|UNSHIFT|PUSH|POP|SPLICE|LIST If a config variable name ends with \*(C`list\*(C'\fR, it is a list. \f(CW\*(C`o conf KEY shift\*(C'\fR removes the first element of the list, \f(CW\*(C`o conf KEY pop\*(C'\fR removes the last element of the list. \*(C`o conf KEYS unshift LIST\*(C'\fR prepends a list of values to the list, \*(C`o conf KEYS push LIST\*(C'\fR appends a list of valued to the list. Likewise, \*(C`o conf KEY splice LIST\*(C'\fR passes the \s-1LIST\s0 to the corresponding splice command. Finally, any other list of arguments is taken as a new list value for the KEY variable discarding the previous value. Examples: ​ o conf urllist unshift http://cpan.dev.local/CPAN ​ o conf urllist splice 3 1 ​ o conf urllist http://cpan1.local http://cpan2.local ftp://ftp.perl.org reverting to saved: o conf defaults Reverts all config variables to the state in the saved config file. saving the config: o conf commit Saves all config variables to the current config file (CPAN/Config.pm or CPAN/MyConfig.pm that was loaded at start). The configuration dialog can be started any time later again by issuing the command \*(C` o conf init \*(C'\fR in the \s-1CPAN\s0 shell. A subset of the configuration dialog can be run by issuing \*(C`o conf init WORD\*(C'\fR where WORD is any valid config variable or a regular expression.

Config VariablesThe following keys in the hash reference $CPAN::Config are currently defined: ​ applypatch path to external prg ​ auto_commit commit all changes to config variables to disk ​ build_cache size of cache for directories to build modules ​ build_dir locally accessible directory to build modules ​ build_dir_reuse boolean if distros in build_dir are persistent ​ build_requires_install_policy ​ to install or not to install when a module is ​ only needed for building. yes|no|ask/yes|ask/no ​ bzip2 path to external prg ​ cache_metadata use serializer to cache metadata ​ check_sigs if signatures should be verified ​ colorize_debug Term::ANSIColor attributes for debugging output ​ colorize_output boolean if Term::ANSIColor should colorize output ​ colorize_print Term::ANSIColor attributes for normal output ​ colorize_warn Term::ANSIColor attributes for warnings ​ commandnumber_in_prompt ​ boolean if you want to see current command number ​ commands_quote preferred character to use for quoting external ​ commands when running them. Defaults to double ​ quote on Windows, single tick everywhere else; ​ can be set to space to disable quoting ​ connect_to_internet_ok ​ whether to ask if opening a connection is ok before ​ urllist is specified ​ cpan_home local directory reserved for this package ​ curl path to external prg ​ dontload_hash DEPRECATED ​ dontload_list arrayref: modules in the list will not be ​ loaded by the CPAN::has_inst() routine ​ ftp path to external prg ​ ftp_passive if set, the envariable FTP_PASSIVE is set for downloads ​ ftp_proxy proxy host for ftp requests ​ ftpstats_period max number of days to keep download statistics ​ ftpstats_size max number of items to keep in the download statistics ​ getcwd see below ​ gpg path to external prg ​ gzip location of external program gzip ​ halt_on_failure stop processing after the first failure of queued ​ items or dependencies ​ histfile file to maintain history between sessions ​ histsize maximum number of lines to keep in histfile ​ http_proxy proxy host for http requests ​ inactivity_timeout breaks interactive Makefile.PLs or Build.PLs ​ after this many seconds inactivity. Set to 0 to ​ disable timeouts. ​ index_expire refetch index files after this many days ​ inhibit_startup_message ​ if true, suppress the startup message ​ keep_source_where directory in which to keep the source (if we do) ​ load_module_verbosity ​ report loading of optional modules used by CPAN.pm ​ lynx path to external prg ​ make location of external make program ​ make_arg arguments that should always be passed to 'make' ​ make_install_make_command ​ the make command for running 'make install', for ​ example 'sudo make' ​ make_install_arg same as make_arg for 'make install' ​ makepl_arg arguments passed to 'perl Makefile.PL' ​ mbuild_arg arguments passed to './Build' ​ mbuild_install_arg arguments passed to './Build install' ​ mbuild_install_build_command ​ command to use instead of './Build' when we are ​ in the install stage, for example 'sudo ./Build' ​ mbuildpl_arg arguments passed to 'perl Build.PL' ​ ncftp path to external prg ​ ncftpget path to external prg ​ no_proxy don't proxy to these hosts/domains (comma separated list) ​ pager location of external program more (or any pager) ​ password your password if you CPAN server wants one ​ patch path to external prg ​ patches_dir local directory containing patch files ​ perl5lib_verbosity verbosity level for PERL5LIB additions ​ prefer_installer legal values are MB and EUMM: if a module comes ​ with both a Makefile.PL and a Build.PL, use the ​ former (EUMM) or the latter (MB); if the module ​ comes with only one of the two, that one will be ​ used no matter the setting ​ prerequisites_policy ​ what to do if you are missing module prerequisites ​ ('follow' automatically, 'ask' me, or 'ignore') ​ prefs_dir local directory to store per−distro build options ​ proxy_user username for accessing an authenticating proxy ​ proxy_pass password for accessing an authenticating proxy ​ randomize_urllist add some randomness to the sequence of the urllist ​ scan_cache controls scanning of cache ('atstart' or 'never') ​ shell your favorite shell ​ show_unparsable_versions ​ boolean if r command tells which modules are versionless ​ show_upload_date boolean if commands should try to determine upload date ​ show_zero_versions boolean if r command tells for which modules $version==0 ​ tar location of external program tar ​ tar_verbosity verbosity level for the tar command ​ term_is_latin deprecated: if true Unicode is translated to ISO−8859−1 ​ (and nonsense for characters outside latin range) ​ term_ornaments boolean to turn ReadLine ornamenting on/off ​ test_report email test reports (if CPAN::Reporter is installed) ​ trust_test_report_history ​ skip testing when previously tested ok (according to ​ CPAN::Reporter history) ​ unzip location of external program unzip ​ urllist arrayref to nearby CPAN sites (or equivalent locations) ​ use_sqlite use CPAN::SQLite for metadata storage (fast and lean) ​ username your username if you CPAN server wants one ​ wait_list arrayref to a wait server to try (See CPAN::WAIT) ​ wget path to external prg ​ yaml_load_code enable YAML code deserialisation via CPAN::DeferredCode ​ yaml_module which module to use to read/write YAML files You can set and query each of these options interactively in the cpan shell with the \*(C`o conf\*(C'\fR or the \f(CW\*(C`o conf init\*(C'\fR command as specified below. o conf <scalar option> prints the current value of the scalar option o conf <scalar option> <value> Sets the value of the scalar option to value o conf <list option> prints the current value of the list option in MakeMaker's neatvalue format. o conf <list option> [shift|pop] shifts or pops the array in the list option variable o conf <list option> [unshift|push|splice] <list> works like the corresponding perl commands. interactive editing: o conf init [MATCH|LIST] Runs an interactive configuration dialog for matching variables. Without argument runs the dialog over all supported config variables. To specify a MATCH the argument must be enclosed by slashes. Examples: ​ o conf init ftp_passive ftp_proxy ​ o conf init /color/ Note: this method of setting config variables often provides more explanation about the functioning of a variable than the manpage.

CPAN::anycwd($path): Note on config variable getcwdCPAN.pm changes the current working directory often and needs to determine its own current working directory. By default it uses Cwd::cwd, but if for some reason this doesn't work on your system, configure alternatives according to the following table: cwd Calls Cwd::cwd getcwd Calls Cwd::getcwd fastcwd Calls Cwd::fastcwd backtickcwd Calls the external command cwd.

Note on the format of the urllist parameterurllist parameters are URLs according to RFC 1738. We do a little guessing if your URL is not compliant, but if you have problems with ​\*(C`file\*(C'\fR URLs, please try the correct format. Either: ​ file://localhost/whatever/ftp/pub/CPAN/ or ​ file:///home/ftp/pub/CPAN/

The urllist parameter has CD-ROM supportThe \*(C`urllist\*(C'\fR parameter of the configuration table contains a list of URLs used for downloading. If the list contains any ​\*(C`file\*(C'\fR URLs, \s-1CPAN\s0 always tries there first. This feature is disabled for index files. So the recommendation for the owner of a CD-ROM with CPAN contents is: include your local, possibly outdated CD-ROM as a \*(C`file\*(C'\fR \s-1URL\s0 at the end of urllist, e.g. ​ o conf urllist push file://localhost/CDROM/CPAN CPAN.pm will then fetch the index files from one of the CPAN sites that come at the beginning of urllist. It will later check for each module to see whether there is a local copy of the most recent version. Another peculiarity of urllist is that the site that we could successfully fetch the last file from automatically gets a preference token and is tried as the first site for the next request. So if you add a new site at runtime it may happen that the previously preferred site will be tried another time. This means that if you want to disallow a site for the next transfer, it must be explicitly removed from urllist.

Maintaining the urllist parameterIf you have YAML.pm (or some other YAML module configured in ​\*(C`yaml_module\*(C'\fR) installed, \s-1CPAN\s0.pm collects a few statistical data about recent downloads. You can view the statistics with the \*(C`hosts\*(C'\fR command or inspect them directly by looking into the \*(C`FTPstats.yml\*(C'\fR file in your \*(C`cpan_home\*(C'\fR directory. To get some interesting statistics, it is recommended that ​\*(C`randomize_urllist\*(C'\fR be set; this introduces some amount of randomness into the URL selection.

The requires and build_requires dependency declarationsSince CPAN.pm version 1.88_51 modules declared as \*(C`build_requires\*(C'\fR by a distribution are treated differently depending on the config variable \*(C`build_requires_install_policy\*(C'\fR. By setting ​\*(C`build_requires_install_policy\*(C'\fR to \f(CW\*(C`no\*(C'\fR, such a module is not installed. It is only built and tested, and then kept in the list of tested but uninstalled modules. As such, it is available during the build of the dependent module by integrating the path to the ​\*(C`blib/arch\*(C'\fR and \f(CW\*(C`blib/lib\*(C'\fR directories in the environment variable ​PERL5LIB. If \*(C`build_requires_install_policy\*(C'\fR is set ti \f(CW\*(C`yes\*(C'\fR, then both modules declared as \*(C`requires\*(C'\fR and those declared as ​\*(C`build_requires\*(C'\fR are treated alike. By setting to \f(CW\*(C`ask/yes\*(C'\fR or ​\*(C`ask/no\*(C'\fR, \s-1CPAN\s0.pm asks the user and sets the default accordingly.

Configuration for individual distributions (Distroprefs)(Note: This feature has been introduced in CPAN.pm 1.8854 and is still considered beta quality) Distributions on CPAN usually behave according to what we call the ​CPAN mantra. Or since the advent of Module::Build we should talk about two mantras: ​ perl Makefile.PL perl Build.PL ​ make ./Build ​ make test ./Build test ​ make install ./Build install But some modules cannot be built with this mantra. They try to get some extra data from the user via the environment, extra arguments, or interactively\*(--thus disturbing the installation of large bundles like Phalanx100 or modules with many dependencies like Plagger. The distroprefs system of \*(C`CPAN.pm\*(C'\fR addresses this problem by allowing the user to specify extra informations and recipes in YAML files to either • pass additional arguments to one of the four commands, • set environment variables • instantiate an Expect object that reads from the console, waits for some regular expressions and enters some answers • temporarily override assorted \*(C`CPAN.pm\*(C'\fR configuration variables • specify dependencies the original maintainer forgot • disable the installation of an object altogether See the YAML and Data::Dumper files that come with the \*(C`CPAN.pm\*(C'\fR distribution in the \*(C`distroprefs/\*(C'\fR directory for examples.

FilenamesThe YAML files themselves must have the \*(C`.yml\*(C'\fR extension; all other files are ignored (for two exceptions see Fallback Data::Dumper and Storable below). The containing directory can be specified in ​\*(C`CPAN.pm\*(C'\fR in the \f(CW\*(C`prefs_dir\*(C'\fR config variable. Try \f(CW\*(C`o conf init prefs_dir\*(C'\fR in the \s-1CPAN\s0 shell to set and activate the distroprefs system. Every YAML file may contain arbitrary documents according to the YAML specification, and every document is treated as an entity that can specify the treatment of a single distribution. Filenames can be picked arbitrarily; \*(C`CPAN.pm\*(C'\fR always reads all files (in alphabetical order) and takes the key \*(C`match\*(C'\fR (see below in Language Specs) as a hashref containing match criteria that determine if the current distribution matches the YAML document or not.

Fallback Data::Dumper and StorableIf neither your configured \*(C`yaml_module\*(C'\fR nor \s-1YAML\s0.pm is installed, ​CPAN.pm falls back to using Data::Dumper and Storable and looks for files with the extensions \*(C`.dd\*(C'\fR or \f(CW\*(C`.st\*(C'\fR in the \f(CW\*(C`prefs_dir\*(C'\fR directory. These files are expected to contain one or more hashrefs. For Data::Dumper generated files, this is expected to be done with by defining $VAR1, $VAR2, etc. The YAML shell would produce these with the command ​ ysh < somefile.yml > somefile.dd For Storable files the rule is that they must be constructed such that ​\*(C`Storable::retrieve(file)\*(C'\fR returns an array reference and the array elements represent one distropref object each. The conversion from ​YAML would look like so: ​ perl −MYAML=LoadFile −MStorable=nstore −e ' ​ @y=LoadFile(shift); ​ nstore(\@y, shift)' somefile.yml somefile.st In bootstrapping situations it is usually sufficient to translate only a few YAML files to Data::Dumper for crucial modules like ​\*(C`YAML::Syck\*(C'\fR, \f(CW\*(C`YAML.pm\*(C'\fR and \f(CW\*(C`Expect.pm\*(C'\fR. If you prefer Storable over Data::Dumper, remember to pull out a Storable version that writes an older format than all the other Storable versions that will need to read them.

BlueprintThe following example contains all supported keywords and structures with the exception of \*(C`eexpect\*(C'\fR which can be used instead of ​\*(C`expect\*(C'\fR. ​ −−− ​ comment: "Demo" ​ match: ​ module: "Dancing::Queen" ​ distribution: "^CHACHACHA/Dancing−" ​ not_distribution: "\.zip$" ​ perl: "/usr/local/cariba−perl/bin/perl" ​ perlconfig: ​ archname: "freebsd" ​ not_cc: "gcc" ​ env: ​ DANCING_FLOOR: "Shubiduh" ​ disabled: 1 ​ cpanconfig: ​ make: gmake ​ pl: ​ args: ​ − "−−somearg=specialcase" ​ ​ env: {} ​ ​ expect: ​ − "Which is your favorite fruit" ​ − "apple\n" ​ ​ make: ​ args: ​ − all ​ − extra−all ​ ​ env: {} ​ ​ expect: [] ​ ​ commendline: "echo SKIPPING make" ​ ​ test: ​ args: [] ​ ​ env: {} ​ ​ expect: [] ​ ​ install: ​ args: [] ​ ​ env: ​ WANT_TO_INSTALL: YES ​ ​ expect: ​ − "Do you really want to install" ​ − "y\n" ​ ​ patches: ​ − "ABCDE/Fedcba−3.14−ABCDE−01.patch" ​ ​ depends: ​ configure_requires: ​ LWP: 5.8 ​ build_requires: ​ Test::Exception: 0.25 ​ requires: ​ Spiffy: 0.30

Language SpecsEvery YAML document represents a single hash reference. The valid keys in this hash are as follows: comment [scalar] A comment cpanconfig [hash] Temporarily override assorted \*(C`CPAN.pm\*(C'\fR configuration variables. Supported are: \*(C`build_requires_install_policy\*(C'\fR, \f(CW\*(C`check_sigs\*(C'\fR, ​\*(C`make\*(C'\fR, \f(CW\*(C`make_install_make_command\*(C'\fR, \f(CW\*(C`prefer_installer\*(C'\fR, ​\*(C`test_report\*(C'\fR. Please report as a bug when you need another one supported. depends [hash] *** EXPERIMENTAL FEATURE *** All three types, namely \*(C`configure_requires\*(C'\fR, \f(CW\*(C`build_requires\*(C'\fR, and ​\*(C`requires\*(C'\fR are supported in the way specified in the \s-1META\s0.yml specification. The current implementation merges the specified dependencies with those declared by the package maintainer. In a future implementation this may be changed to override the original declaration. disabled [boolean] Specifies that this distribution shall not be processed at all. features [array] *** EXPERIMENTAL FEATURE *** Experimental implementation to deal with optional_features from ​META.yml. Still needs coordination with installer software and currently works only for META.yml declaring \*(C`dynamic_config=0\*(C'\fR. Use with caution. goto [string] The canonical name of a delegate distribution to install instead. Useful when a new version, although it tests OK itself, breaks something else or a developer release or a fork is already uploaded that is better than the last released version. install [hash] Processing instructions for the \*(C`make install\*(C'\fR or \f(CW\*(C`./Build install\*(C'\fR phase of the CPAN mantra. See below under Processing Instructions. make [hash] Processing instructions for the \*(C`make\*(C'\fR or \f(CW\*(C`./Build\*(C'\fR phase of the ​CPAN mantra. See below under Processing Instructions. match [hash] A hashref with one or more of the keys \*(C`distribution\*(C'\fR, \f(CW\*(C`modules\*(C'\fR, ​\*(C`perl\*(C'\fR, \f(CW\*(C`perlconfig\*(C'\fR, and \f(CW\*(C`env\*(C'\fR that specify whether a document is targeted at a specific CPAN distribution or installation. Keys prefixed with \*(C`not_\*(C'\fR negates the corresponding match. The corresponding values are interpreted as regular expressions. The ​\*(C`distribution\*(C'\fR related one will be matched against the canonical distribution name, e.g. AUTHOR/Foo−Bar−3.14.tar.gz. The \*(C`module\*(C'\fR related one will be matched against \fIall\fR modules contained in the distribution until one module matches. The \*(C`perl\*(C'\fR related one will be matched against \f(CW$^X\fR (but with the absolute path). The value associated with \*(C`perlconfig\*(C'\fR is itself a hashref that is matched against corresponding values in the %Config::Config hash living in the \*(C`Config.pm\*(C'\fR module. Keys prefixed with \*(C`not_\*(C'\fR negates the corresponding match. The value associated with \*(C`env\*(C'\fR is itself a hashref that is matched against corresponding values in the %ENV hash. Keys prefixed with \*(C`not_\*(C'\fR negates the corresponding match. If more than one restriction of \*(C`module\*(C'\fR, \f(CW\*(C`distribution\*(C'\fR, etc. is specified, the results of the separately computed match values must all match. If so, the hashref represented by the ​YAML document is returned as the preference structure for the current distribution. patches [array] An array of patches on CPAN or on the local disk to be applied in order via an external patch program. If the value for the \*(C`\-p\*(C'\fR parameter is 0 or 1 is determined by reading the patch beforehand. The path to each patch is either an absolute path on the local filesystem or relative to a patch directory specified in the ​\*(C`patches_dir\*(C'\fR configuration variable or in the format of a canonical distroname. For examples please consult the distroprefs/ directory in the CPAN.pm distribution (these examples are not installed by default). Note: if the \*(C`applypatch\*(C'\fR program is installed and \f(CW\*(C`CPAN::Config\*(C'\fR knows about it and a patch is written by the \*(C`makepatch\*(C'\fR program, then \*(C`CPAN.pm\*(C'\fR lets \f(CW\*(C`applypatch\*(C'\fR apply the patch. Both \f(CW\*(C`makepatch\*(C'\fR and \*(C`applypatch\*(C'\fR are available from \s-1CPAN\s0 in the \f(CW\*(C`JV/makepatch\-*\*(C'\fR distribution. pl [hash] Processing instructions for the \*(C`perl Makefile.PL\*(C'\fR or \f(CW\*(C`perl Build.PL\*(C'\fR phase of the \s-1CPAN\s0 mantra. See below under \fIProcessing Instructions. test [hash] Processing instructions for the \*(C`make test\*(C'\fR or \f(CW\*(C`./Build test\*(C'\fR phase of the CPAN mantra. See below under Processing Instructions.

Processing Instructionsargs [array] Arguments to be added to the command line commandline A full commandline to run via \*(C`system()\*(C'\fR. During execution, the environment variable PERL is set to $^X (but with an absolute path). If \*(C`commandline\*(C'\fR is specified, ​\*(C`args\*(C'\fR is not used. eexpect [hash] Extended \*(C`expect\*(C'\fR. This is a hash reference with four allowed keys, ​\*(C`mode\*(C'\fR, \f(CW\*(C`timeout\*(C'\fR, \f(CW\*(C`reuse\*(C'\fR, and \f(CW\*(C`talk\*(C'\fR. \*(C`mode\*(C'\fR may have the values \f(CW\*(C`deterministic\*(C'\fR for the case where all questions come in the order written down and \*(C`anyorder\*(C'\fR for the case where the questions may come in any order. The default mode is ​\*(C`deterministic\*(C'\fR. \*(C`timeout\*(C'\fR denotes a timeout in seconds. Floating-point timeouts are ​OK. With \*(C`mode=deterministic\*(C'\fR, the timeout denotes the timeout per question; with \*(C`mode=anyorder\*(C'\fR it denotes the timeout per byte received from the stream or questions. \*(C`talk\*(C'\fR is a reference to an array that contains alternating questions and answers. Questions are regular expressions and answers are literal strings. The Expect module watches the stream from the execution of the external program (\*(C`perl Makefile.PL\*(C'\fR, \f(CW\*(C`perl Build.PL\*(C'\fR, \f(CW\*(C`make\*(C'\fR, etc.). For \*(C`mode=deterministic\*(C'\fR, the \s-1CPAN\s0.pm injects the corresponding answer as soon as the stream matches the regular expression. For \*(C`mode=anyorder\*(C'\fR \s-1CPAN\s0.pm answers a question as soon as the timeout is reached for the next byte in the input stream. In this mode you can use the \*(C`reuse\*(C'\fR parameter to decide what will happen with a question-answer pair after it has been used. In the default case (reuse=0) it is removed from the array, avoiding being used again accidentally. If you want to answer the question \*(C`Do you really want to do that\*(C'\fR several times, then it must be included in the array at least as often as you want this answer to be given. Setting the parameter \*(C`reuse\*(C'\fR to 1 makes this repetition unnecessary. env [hash] Environment variables to be set during the command expect [array] \*(C`expect: <array>\*(C'\fR is a short notation for eexpect:
    mode: deterministic
    timeout: 15
    talk: <array>

Schema verification with KwalifyIf you have the \*(C`Kwalify\*(C'\fR module installed (which is part of the Bundle::CPANxxl), then all your distroprefs files are checked for syntactic correctness.

Example Distroprefs Files\*(C`CPAN.pm\*(C'\fR comes with a collection of example \s-1YAML\s0 files. Note that these are really just examples and should not be used without care because they cannot fit everybody's purpose. After all, the authors of the packages that ask questions had a need to ask, so you should watch their questions and adjust the examples to your environment and your needs. You have been warned:−)

PROGRAMMER'S INTERFACEIf you do not enter the shell, shell commands are available both as methods (\*(C`CPAN::Shell\->install(...)\*(C'\fR) and as functions in the calling package (\*(C`install(...)\*(C'\fR). Before calling low-level commands, it makes sense to initialize components of CPAN you need, e.g.: ​ CPAN::HandleConfig−>load; ​ CPAN::Shell::setup_output; ​ CPAN::Index−>reload; High-level commands do such initializations automatically. There's currently only one class that has a stable interface − CPAN::Shell. All commands that are available in the CPAN shell are methods of the class CPAN::Shell. Each of the commands that produce listings of modules (\*(C`r\*(C'\fR, \f(CW\*(C`autobundle\*(C'\fR, \f(CW\*(C`u\*(C'\fR) also return a list of the IDs of all modules within the list. expand($type,@things) The IDs of all objects available within a program are strings that can be expanded to the corresponding real objects with the ​\*(C`CPAN::Shell\->expand("Module",@things)\*(C'\fR method. Expand returns a list of CPAN::Module objects according to the @things arguments given. In scalar context, it returns only the first element of the list. expandany(@things) Like expand, but returns objects of the appropriate type, i.e. CPAN::Bundle objects for bundles, CPAN::Module objects for modules, and CPAN::Distribution objects for distributions. Note: it does not expand to CPAN::Author objects. Programming Examples This enables the programmer to do operations that combine functionalities that are available in the shell. ​ # install everything that is outdated on my disk: ​ perl −MCPAN −e 'CPAN::Shell−>install(CPAN::Shell−>r)' ​ ​ # install my favorite programs if necessary: ​ for $mod (qw(Net::FTP Digest::SHA Data::Dumper)) { ​ CPAN::Shell−>install($mod); ​ } ​ ​ # list all modules on my disk that have no VERSION number ​ for $mod (CPAN::Shell−>expand("Module","/./")) { ​ next unless $mod−>inst_file; ​ # MakeMaker convention for undefined $VERSION: ​ next unless $mod−>inst_version eq "undef"; ​ print "No VERSION in ", $mod−>id, "\n"; ​ } ​ ​ # find out which distribution on CPAN contains a module: ​ print CPAN::Shell−>expand("Module","Apache::Constants")>cpan_file Or if you want to schedule a cron job to watch CPAN, you could list all modules that need updating. First a quick and dirty way: ​ perl −e 'use CPAN; CPAN::Shell−>r;' If you don't want any output should all modules be up to date, parse the output of above command for the regular expression \*(C`/modules are up to date/\*(C'\fR and decide to mail the output only if it doesn't match. If you prefer to do it more in a programmerish style in one single process, something like this may better suit you: ​ # list all modules on my disk that have newer versions on CPAN ​ for $mod (CPAN::Shell−>expand("Module","/./")) { ​ next unless $mod−>inst_file; ​ next if $mod−>uptodate; ​ printf "Module %s is installed as %s, could be updated to %s from CPAN\n", ​ $mod−>id, $mod−>inst_version, $mod−>cpan_version; ​ } If that gives too much output every day, you may want to watch only for three modules. You can write ​ for $mod (CPAN::Shell−>expand("Module","/Apache|LWP|CGI/")) { as the first line instead. Or you can combine some of the above tricks: ​ # watch only for a new mod_perl module ​ $mod = CPAN::Shell−>expand("Module","mod_perl"); ​ exit if $mod−>uptodate; ​ # new mod_perl arrived, let me know all update recommendations ​ CPAN::Shell−>r;

Methods in the other ClassesCPAN::Author::as_glimpse() Returns a one-line description of the author CPAN::Author::as_string() Returns a multi-line description of the author CPAN::Author::email() Returns the author's email address CPAN::Author::fullname() Returns the author's name CPAN::Author::name() An alias for fullname CPAN::Bundle::as_glimpse() Returns a one-line description of the bundle CPAN::Bundle::as_string() Returns a multi-line description of the bundle CPAN::Bundle::clean() Recursively runs the \*(C`clean\*(C'\fR method on all items contained in the bundle. CPAN::Bundle::contains() Returns a list of objects' IDs contained in a bundle. The associated objects may be bundles, modules or distributions. CPAN::Bundle::force($method,@args) Forces CPAN to perform a task that it normally would have refused to do. Force takes as arguments a method name to be called and any number of additional arguments that should be passed to the called method. The internals of the object get the needed changes so that CPAN.pm does not refuse to take the action. The \*(C`force\*(C'\fR is passed recursively to all contained objects. See also the section above on the \*(C`force\*(C'\fR and the \*(C`fforce\*(C'\fR pragma. CPAN::Bundle::get() Recursively runs the \*(C`get\*(C'\fR method on all items contained in the bundle CPAN::Bundle::inst_file() Returns the highest installed version of the bundle in either @INC or ​\*(C`$CPAN::Config\-\*(C'\fR{cpan_home}>. Note that this is different from CPAN::Module::inst_file. CPAN::Bundle::inst_version() Like CPAN::Bundle::inst_file, but returns the $VERSION CPAN::Bundle::uptodate() Returns 1 if the bundle itself and all its members are uptodate. CPAN::Bundle::install() Recursively runs the \*(C`install\*(C'\fR method on all items contained in the bundle CPAN::Bundle::make() Recursively runs the \*(C`make\*(C'\fR method on all items contained in the bundle CPAN::Bundle::readme() Recursively runs the \*(C`readme\*(C'\fR method on all items contained in the bundle CPAN::Bundle::test() Recursively runs the \*(C`test\*(C'\fR method on all items contained in the bundle CPAN::Distribution::as_glimpse() Returns a one-line description of the distribution CPAN::Distribution::as_string() Returns a multi-line description of the distribution CPAN::Distribution::author Returns the CPAN::Author object of the maintainer who uploaded this distribution CPAN::Distribution::pretty_id() Returns a string of the form AUTHORID/TARBALL, where AUTHORID is the author's PAUSE ID and TARBALL is the distribution filename. CPAN::Distribution::base_id() Returns the distribution filename without any archive suffix. E.g ​Foo−Bar−0.01 CPAN::Distribution::clean() Changes to the directory where the distribution has been unpacked and runs \*(C`make clean\*(C'\fR there. CPAN::Distribution::containsmods() Returns a list of IDs of modules contained in a distribution file. Works only for distributions listed in the 02packages.details.txt.gz file. This typically means that just most recent version of a distribution is covered. CPAN::Distribution::cvs_import() Changes to the directory where the distribution has been unpacked and runs something like ​ cvs −d $cvs_root import −m $cvs_log $cvs_dir $userid v$version there. CPAN::Distribution::dir() Returns the directory into which this distribution has been unpacked. CPAN::Distribution::force($method,@args) Forces CPAN to perform a task that it normally would have refused to do. Force takes as arguments a method name to be called and any number of additional arguments that should be passed to the called method. The internals of the object get the needed changes so that CPAN.pm does not refuse to take the action. See also the section above on the ​\*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. CPAN::Distribution::get() Downloads the distribution from CPAN and unpacks it. Does nothing if the distribution has already been downloaded and unpacked within the current session. CPAN::Distribution::install() Changes to the directory where the distribution has been unpacked and runs the external command \*(C`make install\*(C'\fR there. If \f(CW\*(C`make\*(C'\fR has not yet been run, it will be run first. A \*(C`make test\*(C'\fR is issued in any case and if this fails, the install is cancelled. The cancellation can be avoided by letting \*(C`force\*(C'\fR run the \f(CW\*(C`install\*(C'\fR for you. This install method only has the power to install the distribution if there are no dependencies in the way. To install an object along with all its dependencies, use CPAN::Shell−>install. Note that install() gives no meaningful return value. See uptodate(). CPAN::Distribution::install_tested() Install all distributions that have tested sucessfully but not yet installed. See also \*(C`is_tested\*(C'\fR. CPAN::Distribution::isa_perl() Returns 1 if this distribution file seems to be a perl distribution. Normally this is derived from the file name only, but the index from ​CPAN can contain a hint to achieve a return value of true for other filenames too. CPAN::Distribution::look() Changes to the directory where the distribution has been unpacked and opens a subshell there. Exiting the subshell returns. CPAN::Distribution::make() First runs the \*(C`get\*(C'\fR method to make sure the distribution is downloaded and unpacked. Changes to the directory where the distribution has been unpacked and runs the external commands \*(C`perl Makefile.PL\*(C'\fR or \f(CW\*(C`perl Build.PL\*(C'\fR and \f(CW\*(C`make\*(C'\fR there. CPAN::Distribution::perldoc() Downloads the pod documentation of the file associated with a distribution (in HTML format) and runs it through the external command lynx specified in \*(C`$CPAN::Config\-\*(C'\fR{lynx}>. If \fIlynx\fR isn't available, it converts it to plain text with the external command html2text and runs it through the pager specified in \*(C`$CPAN::Config\-\*(C'\fR{pager}> CPAN::Distribution::prefs() Returns the hash reference from the first matching YAML file that the user has deposited in the \*(C`prefs_dir/\*(C'\fR directory. The first succeeding match wins. The files in the \*(C`prefs_dir/\*(C'\fR are processed alphabetically, and the canonical distroname (e.g. AUTHOR/Foo−Bar−3.14.tar.gz) is matched against the regular expressions stored in the $root>{match}{distribution} attribute value. Additionally all module names contained in a distribution are matched against the regular expressions in the $root>{match}{module} attribute value. The two match values are ANDed together. Each of the two attributes are optional. CPAN::Distribution::prereq_pm() Returns the hash reference that has been announced by a distribution as the \*(C`requires\*(C'\fR and \f(CW\*(C`build_requires\*(C'\fR elements. These can be declared either by the \*(C`META.yml\*(C'\fR (if authoritative) or can be deposited after the run of \*(C`Build.PL\*(C'\fR in the file \f(CW\*(C`./_build/prereqs\*(C'\fR or after the run of \*(C`Makfile.PL\*(C'\fR written as the \f(CW\*(C`PREREQ_PM\*(C'\fR hash in a comment in the produced \*(C`Makefile\*(C'\fR. \fINote\fR: this method only works after an attempt has been made to \*(C`make\*(C'\fR the distribution. Returns undef otherwise. CPAN::Distribution::readme() Downloads the README file associated with a distribution and runs it through the pager specified in \*(C`$CPAN::Config\-\*(C'\fR{pager}>. CPAN::Distribution::reports() Downloads report data for this distribution from www.cpantesters.org and displays a subset of them. CPAN::Distribution::read_yaml() Returns the content of the META.yml of this distro as a hashref. Note: works only after an attempt has been made to \*(C`make\*(C'\fR the distribution. Returns undef otherwise. Also returns undef if the content of META.yml is not authoritative. (The rules about what exactly makes the content authoritative are still in flux.) CPAN::Distribution::test() Changes to the directory where the distribution has been unpacked and runs \*(C`make test\*(C'\fR there. CPAN::Distribution::uptodate() Returns 1 if all the modules contained in the distribution are uptodate. Relies on containsmods. CPAN::Index::force_reload() Forces a reload of all indices. CPAN::Index::reload() Reloads all indices if they have not been read for more than ​\*(C`$CPAN::Config\-\*(C'\fR{index_expire}> days. CPAN::InfoObj::dump() CPAN::Author, CPAN::Bundle, CPAN::Module, and CPAN::Distribution inherit this method. It prints the data structure associated with an object. Useful for debugging. Note: the data structure is considered internal and thus subject to change without notice. CPAN::Module::as_glimpse() Returns a one-line description of the module in four columns: The first column contains the word \*(C`Module\*(C'\fR, the second column consists of one character: an equals sign if this module is already installed and uptodate, a less-than sign if this module is installed but can be upgraded, and a space if the module is not installed. The third column is the name of the module and the fourth column gives maintainer or distribution information. CPAN::Module::as_string() Returns a multi-line description of the module CPAN::Module::clean() Runs a clean on the distribution associated with this module. CPAN::Module::cpan_file() Returns the filename on CPAN that is associated with the module. CPAN::Module::cpan_version() Returns the latest version of this module available on CPAN. CPAN::Module::cvs_import() Runs a cvs_import on the distribution associated with this module. CPAN::Module::description() Returns a 44 character description of this module. Only available for modules listed in The Module List (CPAN/modules/00modlist.long.html or 00modlist.long.txt.gz) CPAN::Module::distribution() Returns the CPAN::Distribution object that contains the current version of this module. CPAN::Module::dslip_status() Returns a hash reference. The keys of the hash are the letters \*(C`D\*(C'\fR, ​\*(C`S\*(C'\fR, \f(CW\*(C`L\*(C'\fR, \f(CW\*(C`I\*(C'\fR, and <P>, for development status, support level, language, interface and public licence respectively. The data for the ​DSLIP status are collected by pause.perl.org when authors register their namespaces. The values of the 5 hash elements are one-character words whose meaning is described in the table below. There are also 5 hash elements \*(C`DV\*(C'\fR, \f(CW\*(C`SV\*(C'\fR, \f(CW\*(C`LV\*(C'\fR, \f(CW\*(C`IV\*(C'\fR, and <\s-1PV\s0> that carry a more verbose value of the 5 status variables. Where the 'DSLIP' characters have the following meanings: ​ D − Development Stage (Note: *NO IMPLIED TIMESCALES*): ​ i − Idea, listed to gain consensus or as a placeholder ​ c − under construction but pre−alpha (not yet released) ​ a/b − Alpha/Beta testing ​ R − Released ​ M − Mature (no rigorous definition) ​ S − Standard, supplied with Perl 5 ​ ​ S − Support Level: ​ m − Mailing−list ​ d − Developer ​ u − Usenet newsgroup comp.lang.perl.modules ​ n − None known, try comp.lang.perl.modules ​ a − abandoned; volunteers welcome to take over maintainance ​ ​ L − Language Used: ​ p − Perl−only, no compiler needed, should be platform independent ​ c − C and perl, a C compiler will be needed ​ h − Hybrid, written in perl with optional C code, no compiler needed ​ + − C++ and perl, a C++ compiler will be needed ​ o − perl and another language other than C or C++ ​ ​ I − Interface Style ​ f − plain Functions, no references used ​ h − hybrid, object and function interfaces available ​ n − no interface at all (huh?) ​ r − some use of unblessed References or ties ​ O − Object oriented using blessed references and/or inheritance ​ ​ P − Public License ​ p − Standard−Perl: user may choose between GPL and Artistic ​ g − GPL: GNU General Public License ​ l − LGPL: "GNU Lesser General Public License" (previously known as ​ "GNU Library General Public License") ​ b − BSD: The BSD License ​ a − Artistic license alone ​ 2 − Artistic license 2.0 or later ​ o − open source: appoved by www.opensource.org ​ d − allows distribution without restrictions ​ r − restricted distribtion ​ n − no license at all CPAN::Module::force($method,@args) Forces CPAN to perform a task it would normally refuse to do. Force takes as arguments a method name to be invoked and any number of additional arguments to pass that method. The internals of the object get the needed changes so that CPAN.pm does not refuse to take the action. See also the section above on the ​\*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. CPAN::Module::get() Runs a get on the distribution associated with this module. CPAN::Module::inst_file() Returns the filename of the module found in @INC. The first file found is reported, just as perl itself stops searching @INC once it finds a module. CPAN::Module::available_file() Returns the filename of the module found in PERL5LIB or @INC. The first file found is reported. The advantage of this method over ​\*(C`inst_file\*(C'\fR is that modules that have been tested but not yet installed are included because PERL5LIB keeps track of tested modules. CPAN::Module::inst_version() Returns the version number of the installed module in readable format. CPAN::Module::available_version() Returns the version number of the available module in readable format. CPAN::Module::install() Runs an \*(C`install\*(C'\fR on the distribution associated with this module. CPAN::Module::look() Changes to the directory where the distribution associated with this module has been unpacked and opens a subshell there. Exiting the subshell returns. CPAN::Module::make() Runs a \*(C`make\*(C'\fR on the distribution associated with this module. CPAN::Module::manpage_headline() If module is installed, peeks into the module's manpage, reads the headline, and returns it. Moreover, if the module has been downloaded within this session, does the equivalent on the downloaded module even if it hasn't been installed yet. CPAN::Module::perldoc() Runs a \*(C`perldoc\*(C'\fR on this module. CPAN::Module::readme() Runs a \*(C`readme\*(C'\fR on the distribution associated with this module. CPAN::Module::reports() Calls the reports() method on the associated distribution object. CPAN::Module::test() Runs a \*(C`test\*(C'\fR on the distribution associated with this module. CPAN::Module::uptodate() Returns 1 if the module is installed and up-to-date. CPAN::Module::userid() Returns the author's ID of the module.

Cache ManagerCurrently the cache manager only keeps track of the build directory ($CPAN::Config−>{build_dir}). It is a simple FIFO mechanism that deletes complete directories below \*(C`build_dir\*(C'\fR as soon as the size of all directories there gets bigger than $CPAN::Config>{build_cache} (in MB). The contents of this cache may be used for later re-installations that you intend to do manually, but will never be trusted by CPAN itself. This is due to the fact that the user might use these directories for building modules on different architectures. There is another directory ($CPAN::Config−>{keep_source_where}) where the original distribution files are kept. This directory is not covered by the cache manager and must be controlled by the user. If you choose to have the same directory as build_dir and as keep_source_where directory, then your sources will be deleted with the same fifo mechanism.

BundlesA bundle is just a perl module in the namespace Bundle:: that does not define any functions or methods. It usually only contains documentation. It starts like a perl module with a package declaration and a $VERSION variable. After that the pod section looks like any other pod with the only difference being that one special pod section exists starting with (verbatim): ​ =head1 CONTENTS In this pod section each line obeys the format ​ Module_Name [Version_String] [− optional text] The only required part is the first field, the name of a module (e.g. Foo::Bar, ie. not the name of the distribution file). The rest of the line is optional. The comment part is delimited by a dash just as in the man page header. The distribution of a bundle should follow the same convention as other distributions. Bundles are treated specially in the CPAN package. If you say 'install Bundle::Tkkit' (assuming such a bundle exists), CPAN will install all the modules in the CONTENTS section of the pod. You can install your own Bundles locally by placing a conformant Bundle file somewhere into your @INC path. The autobundle() command which is available in the shell interface does that for you by including all currently installed modules in a snapshot bundle file.

PREREQUISITESIf you have a local mirror of CPAN and can access all files with ​file: URLs, then you only need a perl later than perl5.003 to run this module. Otherwise Net::FTP is strongly recommended. LWP may be required for non-UNIX systems, or if your nearest CPAN site is associated with a URL that is not \*(C`ftp:\*(C'\fR. If you have neither Net::FTP nor LWP, there is a fallback mechanism implemented for an external ftp command or for an external lynx command.

UTILITIES

Finding packages and VERSIONThis module presumes that all packages on CPAN • declare their $VERSION variable in an easy to parse manner. This prerequisite can hardly be relaxed because it consumes far too much memory to load all packages into the running program just to determine the $VERSION variable. Currently all programs that are dealing with version use something like this ​ perl −MExtUtils::MakeMaker −le \ ​ 'print MM−>parse_version(shift)' filename If you are author of a package and wonder if your $VERSION can be parsed, please try the above method. • come as compressed or gzipped tarfiles or as zip files and contain a ​\*(C`Makefile.PL\*(C'\fR or \f(CW\*(C`Build.PL\*(C'\fR (well, we try to handle a bit more, but with little enthusiasm).

DebuggingDebugging this module is more than a bit complex due to interference from the software producing the indices on CPAN, the mirroring process on CPAN, packaging, configuration, synchronicity, and even (gasp!) due to bugs within the CPAN.pm module itself. For debugging the code of CPAN.pm itself in interactive mode, some debugging aid can be turned on for most packages within ​CPAN.pm with one of o debug package... sets debug mode for packages. o debug −package... unsets debug mode for packages. o debug all turns debugging on for all packages. o debug number which sets the debugging packages directly. Note that \*(C`o debug 0\*(C'\fR turns debugging off. What seems a successful strategy is the combination of \*(C`reload cpan\*(C'\fR and the debugging switches. Add a new debug statement while running in the shell and then issue a \*(C`reload cpan\*(C'\fR and see the new debugging messages immediately without losing the current context. \*(C`o debug\*(C'\fR without an argument lists the valid package names and the current set of packages in debugging mode. \*(C`o debug\*(C'\fR has built-in completion support. For debugging of CPAN data there is the \*(C`dump\*(C'\fR command which takes the same arguments as make/test/install and outputs each object's Data::Dumper dump. If an argument looks like a perl variable and contains one of \*(C`$\*(C'\fR, \f(CW\*(C`@\*(C'\fR or \f(CW\*(C`%\*(C'\fR, it is \fIeval()\fRed and fed to Data::Dumper directly.

Floppy, Zip, Offline ModeCPAN.pm works nicely without network access, too. If you maintain machines that are not networked at all, you should consider working with \*(C`file:\*(C'\fR URLs. You'll have to collect your modules somewhere first. So you might use CPAN.pm to put together all you need on a networked machine. Then copy the $CPAN::Config>{keep_source_where} (but not ​$CPAN::Config>{build_dir}) directory on a floppy. This floppy is kind of a personal CPAN. CPAN.pm on the non-networked machines works nicely with this floppy. See also below the paragraph about CD-ROM support.

Basic Utilities for Programmershas_inst($module) Returns true if the module is installed. Used to load all modules into the running CPAN.pm that are considered optional. The config variable ​\*(C`dontload_list\*(C'\fR intercepts the \f(CW\*(C`has_inst()\*(C'\fR call such that an optional module is not loaded despite being available. For example, the following command will prevent \*(C`YAML.pm\*(C'\fR from being loaded: ​ cpan> o conf dontload_list push YAML See the source for details. has_usable($module) Returns true if the module is installed and in a usable state. Only useful for a handful of modules that are used internally. See the source for details. instance($module) The constructor for all the singletons used to represent modules, distributions, authors, and bundles. If the object already exists, this method returns the object; otherwise, it calls the constructor.

SECURITYThere's no strong security layer in CPAN.pm. CPAN.pm helps you to install foreign, unmasked, unsigned code on your machine. We compare to a checksum that comes from the net just as the distribution file itself. But we try to make it easy to add security on demand:

Cryptographically signed modulesSince release 1.77, CPAN.pm has been able to verify cryptographically signed module distributions using Module::Signature. The CPAN modules can be signed by their authors, thus giving more security. The simple unsigned MD5 checksums that were used before by CPAN protect mainly against accidental file corruption. You will need to have Module::Signature installed, which in turn requires that you have at least one of Crypt::OpenPGP module or the command-line gpg tool installed. You will also need to be able to connect over the Internet to the public keyservers, like pgp.mit.edu, and their port 11731 (the HKP protocol). The configuration parameter check_sigs is there to turn signature checking on or off.

EXPORTMost functions in package CPAN are exported by default. The reason for this is that the primary use is intended for the cpan shell or for one-liners.

ENVIRONMENTWhen the CPAN shell enters a subshell via the look command, it sets the environment CPAN_SHELL_LEVEL to 1, or increments that variable if it is already set. When CPAN runs, it sets the environment variable PERL5_CPAN_IS_RUNNING to the ID of the running process. It also sets ​PERL5_CPANPLUS_IS_RUNNING to prevent runaway processes which could happen with older versions of Module::Install. When running \*(C`perl Makefile.PL\*(C'\fR, the environment variable ​\*(C`PERL5_CPAN_IS_EXECUTING\*(C'\fR is set to the full path of the ​\*(C`Makefile.PL\*(C'\fR that is being executed. This prevents runaway processes with newer versions of Module::Install. When the config variable ftp_passive is set, all downloads will be run with the environment variable FTP_PASSIVE set to this value. This is in general a good idea as it influences both Net::FTP and LWP based connections. The same effect can be achieved by starting the cpan shell with this environment variable set. For Net::FTP alone, one can also always set passive mode by running libnetcfg.

POPULATE AN INSTALLATION WITH LOTS OF MODULESPopulating a freshly installed perl with one's favorite modules is pretty easy if you maintain a private bundle definition file. To get a useful blueprint of a bundle definition file, the command autobundle can be used on the CPAN shell command line. This command writes a bundle definition file for all modules installed for the current perl interpreter. It's recommended to run this command once only, and from then on maintain the file manually under a private name, say Bundle/my_bundle.pm. With a clever bundle file you can then simply say ​ cpan> install Bundle::my_bundle then answer a few questions and go out for coffee (possibly even in a different city). Maintaining a bundle definition file means keeping track of two things: dependencies and interactivity. CPAN.pm sometimes fails on calculating dependencies because not all modules define all MakeMaker attributes correctly, so a bundle definition file should specify prerequisites as early as possible. On the other hand, it's annoying that so many distributions need some interactive configuring. So what you can try to accomplish in your private bundle file is to have the packages that need to be configured early in the file and the gentle ones later, so you can go out for cofeee after a few minutes and leave CPAN.pm to churn away untended.

WORKING WITH CPAN.pm BEHIND FIREWALLSThanks to Graham Barr for contributing the following paragraphs about the interaction between perl, and various firewall configurations. For further information on firewalls, it is recommended to consult the documentation that comes with the ncftp program. If you are unable to go through the firewall with a simple Perl setup, it is likely that you can configure ncftp so that it works through your firewall.

Three basic types of firewallsFirewalls can be categorized into three basic types. http firewall This is when the firewall machine runs a web server, and to access the outside world, you must do so via that web server. If you set environment variables like http_proxy or ftp_proxy to values beginning with http://, or in your web browser you've proxy information set, then you know you are running behind an http firewall. To access servers outside these types of firewalls with perl (even for ftp), you need LWP. ftp firewall This where the firewall machine runs an ftp server. This kind of firewall will only let you access ftp servers outside the firewall. This is usually done by connecting to the firewall with ftp, then entering a username like user@outside.host.com. To access servers outside these type of firewalls with perl, you need Net::FTP. One-way visibility One-way visibility means these firewalls try to make themselves invisible to users inside the firewall. An FTP data connection is normally created by sending your IP address to the remote server and then listening for the return connection. But the remote server will not be able to connect to you because of the firewall. For these types of firewall, ​FTP connections need to be done in a passive mode. There are two that I can think off. SOCKS If you are using a SOCKS firewall, you will need to compile perl and link it with the SOCKS library. This is what is normally called a 'socksified' perl. With this executable you will be able to connect to servers outside the firewall as if it were not there. IP Masquerade This is when the firewall implemented in the kernel (via NAT, or networking address translation), it allows you to hide a complete network behind one ​IP address. With this firewall no special compiling is needed as you can access hosts directly. For accessing ftp servers behind such firewalls you usually need to set the environment variable \*(C`FTP_PASSIVE\*(C'\fR or the config variable ftp_passive to a true value.

Configuring lynx or ncftp for going through a firewallIf you can go through your firewall with e.g. lynx, presumably with a command such as ​ /usr/local/bin/lynx −pscott:tiger then you would configure CPAN.pm with the command ​ o conf lynx "/usr/local/bin/lynx −pscott:tiger" That's all. Similarly for ncftp or ftp, you would configure something like ​ o conf ncftp "/usr/bin/ncftp −f /home/scott/ncftplogin.cfg" Your mileage may vary...

FAQ1) I installed a new version of module X but CPAN keeps saying, I have the old version installed Probably you do have the old version installed. This can happen if a module installs itself into a different directory in the ​@INC path than it was previously installed. This is not really a ​CPAN.pm problem, you would have the same problem when installing the module manually. The easiest way to prevent this behaviour is to add the argument \*(C`UNINST=1\*(C'\fR to the \f(CW\*(C`make install\*(C'\fR call, and that is why many people add this argument permanently by configuring ​ o conf make_install_arg UNINST=1 2) So why is UNINST=1 not the default? Because there are people who have their precise expectations about who may install where in the @INC path and who uses which @INC array. In fine tuned environments \*(C`UNINST=1\*(C'\fR can cause damage. 3) I want to clean up my mess, and install a new perl along with all modules I have. How do I go about it? Run the autobundle command for your old perl and optionally rename the resulting bundle file (e.g. Bundle/mybundle.pm), install the new perl with the Configure option prefix, e.g. ​ ./Configure −Dprefix=/usr/local/perl−5.6.78.9 Install the bundle file you produced in the first step with something like ​ cpan> install Bundle::mybundle and you're done. 4) When I install bundles or multiple modules with one command there is too much output to keep track of. You may want to configure something like ​ o conf make_arg "| tee −ai /root/.cpan/logs/make.out" ​ o conf make_install_arg "| tee −ai /root/.cpan/logs/make_install.out" so that STDOUT is captured in a file for later inspection. 5) I am not root, how can I install a module in a personal directory? First of all, you will want to use your own configuration, not the one that your root user installed. If you do not have permission to write in the cpan directory that root has configured, you will be asked if you want to create your own config. Answering yes will bring you into ​CPAN's configuration stage, using the system config for all defaults except things that have to do with CPAN's work directory, saving your choices to your MyConfig.pm file. You can also manually initiate this process with the following command: ​ % perl −MCPAN −e 'mkmyconfig' or by running ​ mkmyconfig from the CPAN shell. You will most probably also want to configure something like this: ​ o conf makepl_arg "LIB=~/myperl/lib \ ​ INSTALLMAN1DIR=~/myperl/man/man1 \ ​ INSTALLMAN3DIR=~/myperl/man/man3 \ ​ INSTALLSCRIPT=~/myperl/bin \ ​ INSTALLBIN=~/myperl/bin" and then the equivalent command for Module::Build, which is ​ o conf mbuildpl_arg "−−lib=~/myperl/lib \ ​ −−installman1dir=~/myperl/man/man1 \ ​ −−installman3dir=~/myperl/man/man3 \ ​ −−installscript=~/myperl/bin \ ​ −−installbin=~/myperl/bin" You can make this setting permanent like all \*(C`o conf\*(C'\fR settings with ​\*(C`o conf commit\*(C'\fR or by setting \f(CW\*(C`auto_commit\*(C'\fR beforehand. You will have to add ~/myperl/man to the MANPATH environment variable and also tell your perl programs to look into ~/myperl/lib, e.g. by including ​ use lib "$ENV{HOME}/myperl/lib"; or setting the PERL5LIB environment variable. While we're speaking about $ENV{HOME}, it might be worth mentioning, that for Windows we use the File::HomeDir module that provides an equivalent to the concept of the home directory on Unix. Another thing you should bear in mind is that the UNINST parameter can be dangerous when you are installing into a private area because you might accidentally remove modules that other people depend on that are not using the private area. 6) How to get a package, unwrap it, and make a change before building it? Have a look at the \*(C`look\*(C'\fR (!) command. 7) I installed a Bundle and had a couple of fails. When I retried, everything resolved nicely. Can this be fixed to work on first try? The reason for this is that CPAN does not know the dependencies of all modules when it starts out. To decide about the additional items to install, it just uses data found in the META.yml file or the generated Makefile. An undetected missing piece breaks the process. But it may well be that your Bundle installs some prerequisite later than some depending item and thus your second try is able to resolve everything. Please note, CPAN.pm does not know the dependency tree in advance and cannot sort the queue of things to install in a topologically correct order. It resolves perfectly well if all modules declare the prerequisites correctly with the PREREQ_PM attribute to MakeMaker or the \*(C`requires\*(C'\fR stanza of Module::Build. For bundles which fail and you need to install often, it is recommended to sort the Bundle definition file manually. 8) In our intranet, we have many modules for internal use. How can I integrate these modules with CPAN.pm but without uploading the modules to CPAN? Have a look at the CPAN::Site module. 9) When I run CPAN's shell, I get an error message about things in my ​\*(C`/etc/inputrc\*(C'\fR (or \f(CW\*(C`~/.inputrc\*(C'\fR) file. These are readline issues and can only be fixed by studying readline configuration on your architecture and adjusting the referenced file accordingly. Please make a backup of the \*(C`/etc/inputrc\*(C'\fR or \f(CW\*(C`~/.inputrc\*(C'\fR and edit them. Quite often harmless changes like uppercasing or lowercasing some arguments solves the problem. 10) Some authors have strange characters in their names. Internally CPAN.pm uses the UTF−8 charset. If your terminal is expecting ISO−8859−1 charset, a converter can be activated by setting term_is_latin to a true value in your config file. One way of doing so would be ​ cpan> o conf term_is_latin 1 If other charset support is needed, please file a bugreport against ​CPAN.pm at rt.cpan.org and describe your needs. Maybe we can extend the support or maybe UTF−8 terminals become widely available. Note: this config variable is deprecated and will be removed in a future version of CPAN.pm. It will be replaced with the conventions around the family of $LANG and $LC_* environment variables. 11) When an install fails for some reason and then I correct the error condition and retry, CPAN.pm refuses to install the module, saying ​\*(C`Already tried without success\*(C'\fR. Use the force pragma like so ​ force install Foo::Bar Or you can use ​ look Foo::Bar and then \*(C`make install\*(C'\fR directly in the subshell. 12) How do I install a DEVELOPER RELEASE of a module? By default, CPAN will install the latest non-developer release of a module. If you want to install a dev release, you have to specify the partial path starting with the author id to the tarball you wish to install, like so: ​ cpan> install KWILLIAMS/Module−Build−0.27_07.tar.gz Note that you can use the \*(C`ls\*(C'\fR command to get this path listed. 13) How do I install a module and all its dependencies from the commandline, without being prompted for anything, despite my CPAN configuration (or lack thereof)? CPAN uses ExtUtils::MakeMaker's prompt() function to ask its questions, so if you set the PERL_MM_USE_DEFAULT environment variable, you shouldn't be asked any questions at all (assuming the modules you are installing are nice about obeying that variable as well): ​ % PERL_MM_USE_DEFAULT=1 perl −MCPAN −e 'install My::Module' 14) How do I create a Module::Build based Build.PL derived from an ExtUtils::MakeMaker focused Makefile.PL? http://search.cpan.org/search?query=Module::Build::Convert http://www.refcnt.org/papers/module−build−convert 15) I'm frequently irritated with the CPAN shell's inability to help me select a good mirror. The urllist config parameter is yours. You can add and remove sites at will. You should find out which sites have the best uptodateness, bandwidth, reliability, etc. and are topologically close to you. Some people prefer fast downloads, others uptodateness, others reliability. You decide which to try in which order. Henk P. Penning maintains a site that collects data about CPAN sites: ​ http://www.cs.uu.nl/people/henkp/mirmon/cpan.html Also, feel free to play with experimental features. Run ​ o conf init randomize_urllist ftpstats_period ftpstats_size and choose your favorite parameters. After a few downloads running the ​\*(C`hosts\*(C'\fR command will probably assist you in choosing the best mirror sites. 16) Why do I get asked the same questions every time I start the shell? You can make your configuration changes permanent by calling the command \*(C`o conf commit\*(C'\fR. Alternatively set the \f(CW\*(C`auto_commit\*(C'\fR variable to true by running \*(C`o conf init auto_commit\*(C'\fR and answering the following question with yes. 17) Older versions of CPAN.pm had the original root directory of all tarballs in the build directory. Now there are always random characters appended to these directory names. Why was this done? The random characters are provided by File::Temp and ensure that each module's individual build directory is unique. This makes running ​CPAN.pm in concurrent processes simultaneously safe. 18) Speaking of the build directory. Do I have to clean it up myself? You have the choice to set the config variable \*(C`scan_cache\*(C'\fR to ​\*(C`never\*(C'\fR. Then you must clean it up yourself. The other possible value, \*(C`atstart\*(C'\fR only cleans up the build directory when you start the CPAN shell. If you never start up the CPAN shell, you probably also have to clean up the build directory yourself.

COMPATIBILITY

OLD PERL VERSIONSCPAN.pm is regularly tested to run under 5.004, 5.005, and assorted newer versions. It is getting more and more difficult to get the minimal prerequisites working on older perls. It is close to impossible to get the whole Bundle::CPAN working there. If you're in the position to have only these old versions, be advised that CPAN is designed to work fine without the Bundle::CPAN installed. To get things going, note that GBARR/Scalar−List−Utils−1.18.tar.gz is compatible with ancient perls and that File::Temp is listed as a prerequisite but CPAN has reasonable workarounds if it is missing.

CPANPLUSThis module and its competitor, the CPANPLUS module, are both much cooler than the other. CPAN.pm is older. CPANPLUS was designed to be more modular, but it was never intended to be compatible with CPAN.pm.

SECURITY ADVICEThis software enables you to upgrade software on your computer and so is inherently dangerous because the newly installed software may contain bugs and may alter the way your computer works or even make it unusable. Please consider backing up your data before every upgrade.

BUGSPlease report bugs via <http://rt.cpan.org/> Before submitting a bug, please make sure that the traditional method of building a Perl module package from a shell by following the installation instructions of that package still works in your environment.

AUTHORAndreas Koenig \*(C`<andk@cpan.org>\*(C'\fR

LICENSEThis 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>

TRANSLATIONSKawai,Takanori provides a Japanese translation of this manpage at <http://homepage3.nifty.com/hippo2000/perltips/CPAN.htm>

SEE ALSOcpan, CPAN::Nox, CPAN::Version
0
Johanes Gumabo
Data Size   :   245,903 byte
man-CPAN.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 175,610
Visitor ID   :     :  
Visitor IP   :   18.116.37.200   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|CPAN.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|CPAN.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|CPAN.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|CPAN.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|CPAN.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|CPAN.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|CPAN.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|CPAN.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|CPAN.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|CPAN.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|CPAN.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|CPAN.3pm|142|\*(-- |\&\-\-or\*(-- )         (rof_escape_sequence|91|CPAN.3pm|213|\*(C`Term::ReadKey\*(C'\fR and |which puts you into a readline interface. If \f(CW\*(C`Term::ReadKey\*(C'\fR and )         (rof_escape_sequence|91|CPAN.3pm|214|\*(C`Term::ReadLine::Perl\*(C'\fR or \f(CW\*(C`Term::ReadLine::Gnu\*(C'\fR are installed, |either of \f(CW\*(C`Term::ReadLine::Perl\*(C'\fR or \f(CW\*(C`Term::ReadLine::Gnu\*(C'\fR are installed, )         (rof_escape_sequence|91|CPAN.3pm|217|\*(C`h\*(C'\fR for one-page help |Once at the command line, type \f(CW\*(C`h\*(C'\fR for one-page help )         (rof_escape_sequence|91|CPAN.3pm|220|\*(C`shell\*(C'\fR takes two optional arguments: one the |The function call \f(CW\*(C`shell\*(C'\fR takes two optional arguments: one the )         (rof_escape_sequence|91|CPAN.3pm|227|\*(C`a\*(C'\fR, \f(CW\*(C`b\*(C'\fR, \f(CW\*(C`d\*(C'\fR, and \f(CW\*(C`m\*(C'\fR |There are corresponding one-letter commands \f(CW\*(C`a\*(C'\fR, \f(CW\*(C`b\*(C'\fR, \f(CW\*(C`d\*(C'\fR, and \f(CW\*(C`m\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|228|\*(C`i\*(C'\fR for any of the |for each of the four categories and another, \f(CW\*(C`i\*(C'\fR for any of the )         (rof_escape_sequence|91|CPAN.3pm|240|\*(C`as_string\*(C'\fR, but if |displayed with the rather verbose method \f(CW\*(C`as_string\*(C'\fR, but if )         (rof_escape_sequence|91|CPAN.3pm|242|\*(C`as_glimpse\*(C'\fR. |\&\f(CW\*(C`as_glimpse\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|292|\*(C`prerequisites_policy\*(C'\fR.) |the configuration parameter \f(CW\*(C`prerequisites_policy\*(C'\fR.) )         (rof_escape_sequence|91|CPAN.3pm|294|\*(C`get\*(C'\fR downloads a distribution file and untars or unzips it, \f(CW\*(C`make\*(C'\fR |\&\f(CW\*(C`get\*(C'\fR downloads a distribution file and untars or unzips it, \f(CW\*(C`make\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|295|\*(C`test\*(C'\fR runs the test suite, and \f(CW\*(C`install\*(C'\fR installs it. |builds it, \f(CW\*(C`test\*(C'\fR runs the test suite, and \f(CW\*(C`install\*(C'\fR installs it. )         (rof_escape_sequence|91|CPAN.3pm|297|\*(C`make\*(C'\fR or \f(CW\*(C`test\*(C'\fR is run unconditionally. An |Any \f(CW\*(C`make\*(C'\fR or \f(CW\*(C`test\*(C'\fR is run unconditionally. An )         (rof_escape_sequence|91|CPAN.3pm|318|\*(C`force\*(C'\fR pragma may precede another command (currently: \f(CW\*(C`get\*(C'\fR, |The \f(CW\*(C`force\*(C'\fR pragma may precede another command (currently: \f(CW\*(C`get\*(C'\fR, )         (rof_escape_sequence|91|CPAN.3pm|319|\*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR, or \f(CW\*(C`install\*(C'\fR) to execute the command from scratch |\&\f(CW\*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR, or \f(CW\*(C`install\*(C'\fR) to execute the command from scratch )         (rof_escape_sequence|91|CPAN.3pm|321|\*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. |the \f(CW\*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. )         (rof_escape_sequence|91|CPAN.3pm|323|\*(C`notest\*(C'\fR pragma skips the test part in the build |The \f(CW\*(C`notest\*(C'\fR pragma skips the test part in the build )         (rof_escape_sequence|91|CPAN.3pm|332|\*(C`clean\*(C'\fR command results in a |A \f(CW\*(C`clean\*(C'\fR command results in a )         (rof_escape_sequence|91|CPAN.3pm|342|\*(C`readme\*(C'\fR displays the \s-1README\s0 file of the associated distribution. |\&\f(CW\*(C`readme\*(C'\fR displays the \s-1README\s0 file of the associated distribution. )         (rof_escape_sequence|91|CPAN.3pm|343|\*(C`Look\*(C'\fR gets and untars (if not yet done) the distribution file, |\&\f(CW\*(C`Look\*(C'\fR gets and untars (if not yet done) the distribution file, )         (rof_escape_sequence|91|CPAN.3pm|345|\*(C`perldoc\*(C'\fR displays the module's pod documentation |that directory. \f(CW\*(C`perldoc\*(C'\fR displays the module's pod documentation )         (rof_escape_sequence|91|CPAN.3pm|377|\*(C`failed\*(C'\fR command reports all distributions that failed on one of |The \f(CW\*(C`failed\*(C'\fR command reports all distributions that failed on one of )         (rof_escape_sequence|91|CPAN.3pm|378|\*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR or \f(CW\*(C`install\*(C'\fR for some reason in the currently |\&\f(CW\*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR or \f(CW\*(C`install\*(C'\fR for some reason in the currently )         (rof_escape_sequence|91|CPAN.3pm|382|\*(C`YAML\*(C'\fR or the \f(CW\*(C`YAML::Syck\*(C'\fR module is installed a record of |If the \f(CW\*(C`YAML\*(C'\fR or the \f(CW\*(C`YAML::Syck\*(C'\fR module is installed a record of )         (rof_escape_sequence|91|CPAN.3pm|387|\*(C`build_dir_reuse\*(C'\fR is set to a true |If the configurations variable \f(CW\*(C`build_dir_reuse\*(C'\fR is set to a true )         (rof_escape_sequence|91|CPAN.3pm|397|\*(C`get\*(C'\fR, a \f(CW\*(C`make\*(C'\fR, and an \f(CW\*(C`install\*(C'\fR are not repeated. |second time. A \f(CW\*(C`get\*(C'\fR, a \f(CW\*(C`make\*(C'\fR, and an \f(CW\*(C`install\*(C'\fR are not repeated. )         (rof_escape_sequence|91|CPAN.3pm|398|\*(C`test\*(C'\fR is repeated only if the previous test was unsuccessful. The |A \f(CW\*(C`test\*(C'\fR is repeated only if the previous test was unsuccessful. The )         (rof_escape_sequence|91|CPAN.3pm|400|\*(C`unwrapped|made|tested successfully\*(C'\fR or |is one of \fIHas already been \fR\f(CW\*(C`unwrapped|made|tested successfully\*(C'\fR or )         (rof_escape_sequence|91|CPAN.3pm|402|\*(C`install\*(C'\fR if the corresponding \f(CW\*(C`test\*(C'\fR was not successful. |\&\f(CW\*(C`install\*(C'\fR if the corresponding \f(CW\*(C`test\*(C'\fR was not successful. )         (rof_escape_sequence|91|CPAN.3pm|417|\*(C`fforce\*(C'\fR pragma is a variant that emulates a \f(CW\*(C`force get\*(C'\fR which |The \f(CW\*(C`fforce\*(C'\fR pragma is a variant that emulates a \f(CW\*(C`force get\*(C'\fR which )         (rof_escape_sequence|91|CPAN.3pm|422|\*(C`~/.cpan/.lock\*(C'\fR. |Interactive sessions maintain a lockfile, by default \f(CW\*(C`~/.cpan/.lock\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|432|\*(C`^C\*(C'\fR anytime and |in the cpan-shell, it is intended that you can press \f(CW\*(C`^C\*(C'\fR anytime and )         (rof_escape_sequence|91|CPAN.3pm|436|\*(C`^C\*(C'\fR twice. |pressing \f(CW\*(C`^C\*(C'\fR twice. )         (rof_escape_sequence|91|CPAN.3pm|438|\*(C`inactivity_timeout\*(C'\fR, a |\&\s-1CPAN\s0.pm ignores \s-1SIGPIPE\s0. If the user sets \f(CW\*(C`inactivity_timeout\*(C'\fR, a )         (rof_escape_sequence|91|CPAN.3pm|439|\*(C`perl Makefile.PL\*(C'\fR or \f(CW\*(C`perl |\&\s-1SIGALRM\s0 is used during the run of the \f(CW\*(C`perl Makefile.PL\*(C'\fR or \f(CW\*(C`perl )         (rof_escape_sequence|91|CPAN.3pm|440|\*(C'\fR subprocess. |Build.PL\*(C'\fR subprocess. )         (rof_escape_sequence|91|CPAN.3pm|452|\*(C`autobundle\*(C'\fR writes a bundle file into the |\&\f(CW\*(C`autobundle\*(C'\fR writes a bundle file into the )         (rof_escape_sequence|91|CPAN.3pm|453|\*(C`$CPAN::Config\->{cpan_home}/Bundle\*(C'\fR directory. The file contains |\&\f(CW\*(C`$CPAN::Config\->{cpan_home}/Bundle\*(C'\fR directory. The file contains )         (rof_escape_sequence|91|CPAN.3pm|464|\*(C`FTPstats.yml\*(C'\fR in your \f(CW\*(C`cpan_home\*(C'\fR directory. If no \s-1YAML\s0 module is |\&\f(CW\*(C`FTPstats.yml\*(C'\fR in your \f(CW\*(C`cpan_home\*(C'\fR directory. If no \s-1YAML\s0 module is )         (rof_escape_sequence|91|CPAN.3pm|468|\*(C`~/.cpan/\*(C'\fR |\&\fImkmyconfig()\fR writes your own CPAN::MyConfig file into your \f(CW\*(C`~/.cpan/\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|473|\*(C`recent\*(C'\fR command downloads a list of recent uploads to \s-1CPAN\s0 and |The \f(CW\*(C`recent\*(C'\fR command downloads a list of recent uploads to \s-1CPAN\s0 and )         (rof_escape_sequence|91|CPAN.3pm|498|\*(C`recompile\*(C'\fR is to act as a rescue in case your |Another popular use for \f(CW\*(C`recompile\*(C'\fR is to act as a rescue in case your )         (rof_escape_sequence|91|CPAN.3pm|504|\*(C`report\*(C'\fR command temporarily turns on the \f(CW\*(C`test_report\*(C'\fR config |The \f(CW\*(C`report\*(C'\fR command temporarily turns on the \f(CW\*(C`test_report\*(C'\fR config )         (rof_escape_sequence|91|CPAN.3pm|505|\*(C`force test\*(C'\fR command with the given |variable, then runs the \f(CW\*(C`force test\*(C'\fR command with the given )         (rof_escape_sequence|91|CPAN.3pm|506|\*(C`force\*(C'\fR pragma reruns the tests and repeats |arguments. The \f(CW\*(C`force\*(C'\fR pragma reruns the tests and repeats )         (rof_escape_sequence|91|CPAN.3pm|515|\*(C`smoke\*(C'\fR command takes the list of recent uploads to \s-1CPAN\s0 as |The \f(CW\*(C`smoke\*(C'\fR command takes the list of recent uploads to \s-1CPAN\s0 as )         (rof_escape_sequence|91|CPAN.3pm|516|\*(C`recent\*(C'\fR command and tests them all. While the |provided by the \f(CW\*(C`recent\*(C'\fR command and tests them all. While the )         (rof_escape_sequence|91|CPAN.3pm|527|\*(C`upgrade\*(C'\fR command first runs an \f(CW\*(C`r\*(C'\fR command with the given |The \f(CW\*(C`upgrade\*(C'\fR command first runs an \f(CW\*(C`r\*(C'\fR command with the given )         (rof_escape_sequence|91|CPAN.3pm|585|\*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR, and \f(CW\*(C`install\*(C'\fR are applied |used. All actions such as \f(CW\*(C`make\*(C'\fR, \f(CW\*(C`test\*(C'\fR, and \f(CW\*(C`install\*(C'\fR are applied )         (rof_escape_sequence|91|CPAN.3pm|586|\*(C`cpan .\*(C'\fR an |directly to that directory. This gives the command \f(CW\*(C`cpan .\*(C'\fR an )         (rof_escape_sequence|91|CPAN.3pm|598|\*(C`cpan .\*(C'\fR does all of this at once. It figures out which |the command \f(CW\*(C`cpan .\*(C'\fR does all of this at once. It figures out which )         (rof_escape_sequence|91|CPAN.3pm|608|\*(C` | \*(C'\fR and \f(CW\*(C`>\*(C'\fR are recognized |The usual shell redirection symbols \f(CW\*(C` | \*(C'\fR and \f(CW\*(C`>\*(C'\fR are recognized )         (rof_escape_sequence|91|CPAN.3pm|621|\*(C`$HOME/.cpan/CPAN/MyConfig.pm\*(C'\fR, because \f(CW\*(C`$HOME/.cpan\*(C'\fR is |best placed in \f(CW\*(C`$HOME/.cpan/CPAN/MyConfig.pm\*(C'\fR, because \f(CW\*(C`$HOME/.cpan\*(C'\fR is )         (rof_escape_sequence|91|CPAN.3pm|625|\*(C`o conf\*(C'\fR command has various bells and whistles: |The \f(CW\*(C`o conf\*(C'\fR command has various bells and whistles: )         (rof_escape_sequence|91|CPAN.3pm|629|\*(C`o conf\*(C'\fR will offer you completion for the |of the commandline and \f(CW\*(C`o conf\*(C'\fR will offer you completion for the )         (rof_escape_sequence|91|CPAN.3pm|666|\*(C`list\*(C'\fR, it is a list. \f(CW\*(C`o conf |If a config variable name ends with \f(CW\*(C`list\*(C'\fR, it is a list. \f(CW\*(C`o conf )         (rof_escape_sequence|91|CPAN.3pm|667|\*(C'\fR removes the first element of the list, \f(CW\*(C`o conf KEY pop\*(C'\fR |KEY shift\*(C'\fR removes the first element of the list, \f(CW\*(C`o conf KEY pop\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|668|\*(C`o conf KEYS unshift LIST\*(C'\fR |removes the last element of the list. \f(CW\*(C`o conf KEYS unshift LIST\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|669|\*(C`o conf KEYS push LIST\*(C'\fR |prepends a list of values to the list, \f(CW\*(C`o conf KEYS push LIST\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|672|\*(C`o conf KEY splice LIST\*(C'\fR passes the \s-1LIST\s0 to the corresponding |Likewise, \f(CW\*(C`o conf KEY splice LIST\*(C'\fR passes the \s-1LIST\s0 to the corresponding )         (rof_escape_sequence|91|CPAN.3pm|694|\*(C` o conf init \*(C'\fR in the \s-1CPAN\s0 shell. A subset of |issuing the command \f(CW\*(C` o conf init \*(C'\fR in the \s-1CPAN\s0 shell. A subset of )         (rof_escape_sequence|91|CPAN.3pm|695|\*(C`o conf init WORD\*(C'\fR |the configuration dialog can be run by issuing \f(CW\*(C`o conf init WORD\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|814|\*(C`o conf\*(C'\fR or the \f(CW\*(C`o conf init\*(C'\fR command as specified below. |shell with the \f(CW\*(C`o conf\*(C'\fR or the \f(CW\*(C`o conf init\*(C'\fR command as specified below. )         (rof_escape_sequence|91|CPAN.3pm|873|\*(C`file\*(C'\fR URLs, please try the correct format. Either: |\&\f(CW\*(C`file\*(C'\fR URLs, please try the correct format. Either: )         (rof_escape_sequence|91|CPAN.3pm|886|\*(C`urllist\*(C'\fR parameter of the configuration table contains a list of |The \f(CW\*(C`urllist\*(C'\fR parameter of the configuration table contains a list of )         (rof_escape_sequence|91|CPAN.3pm|888|\*(C`file\*(C'\fR URLs, \s-1CPAN\s0 always tries there first. This |\&\f(CW\*(C`file\*(C'\fR URLs, \s-1CPAN\s0 always tries there first. This )         (rof_escape_sequence|91|CPAN.3pm|891|\*(C`file\*(C'\fR \s-1URL\s0 at the end of urllist, e.g. |outdated CD-ROM as a \f(CW\*(C`file\*(C'\fR \s-1URL\s0 at the end of urllist, e.g. )         (rof_escape_sequence|91|CPAN.3pm|911|\*(C`yaml_module\*(C'\fR) installed, \s-1CPAN\s0.pm collects a few statistical data |\&\f(CW\*(C`yaml_module\*(C'\fR) installed, \s-1CPAN\s0.pm collects a few statistical data )         (rof_escape_sequence|91|CPAN.3pm|912|\*(C`hosts\*(C'\fR |about recent downloads. You can view the statistics with the \f(CW\*(C`hosts\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|913|\*(C`FTPstats.yml\*(C'\fR |command or inspect them directly by looking into the \f(CW\*(C`FTPstats.yml\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|914|\*(C`cpan_home\*(C'\fR directory. |file in your \f(CW\*(C`cpan_home\*(C'\fR directory. )         (rof_escape_sequence|91|CPAN.3pm|917|\*(C`randomize_urllist\*(C'\fR be set; this introduces some amount of |\&\f(CW\*(C`randomize_urllist\*(C'\fR be set; this introduces some amount of )         (rof_escape_sequence|91|CPAN.3pm|922|\*(C`build_requires\*(C'\fR by |Since \s-1CPAN\s0.pm version 1.88_51 modules declared as \f(CW\*(C`build_requires\*(C'\fR by )         (rof_escape_sequence|91|CPAN.3pm|924|\*(C`build_requires_install_policy\*(C'\fR. By setting |variable \f(CW\*(C`build_requires_install_policy\*(C'\fR. By setting )         (rof_escape_sequence|91|CPAN.3pm|925|\*(C`build_requires_install_policy\*(C'\fR to \f(CW\*(C`no\*(C'\fR, such a module is not |\&\f(CW\*(C`build_requires_install_policy\*(C'\fR to \f(CW\*(C`no\*(C'\fR, such a module is not )         (rof_escape_sequence|91|CPAN.3pm|929|\*(C`blib/arch\*(C'\fR and \f(CW\*(C`blib/lib\*(C'\fR directories in the environment variable |\&\f(CW\*(C`blib/arch\*(C'\fR and \f(CW\*(C`blib/lib\*(C'\fR directories in the environment variable )         (rof_escape_sequence|91|CPAN.3pm|930|\*(C`build_requires_install_policy\*(C'\fR is set ti \f(CW\*(C`yes\*(C'\fR, then |\&\s-1PERL5LIB\s0. If \f(CW\*(C`build_requires_install_policy\*(C'\fR is set ti \f(CW\*(C`yes\*(C'\fR, then )         (rof_escape_sequence|91|CPAN.3pm|931|\*(C`requires\*(C'\fR and those declared as |both modules declared as \f(CW\*(C`requires\*(C'\fR and those declared as )         (rof_escape_sequence|91|CPAN.3pm|932|\*(C`build_requires\*(C'\fR are treated alike. By setting to \f(CW\*(C`ask/yes\*(C'\fR or |\&\f(CW\*(C`build_requires\*(C'\fR are treated alike. By setting to \f(CW\*(C`ask/yes\*(C'\fR or )         (rof_escape_sequence|91|CPAN.3pm|933|\*(C`ask/no\*(C'\fR, \s-1CPAN\s0.pm asks the user and sets the default accordingly. |\&\f(CW\*(C`ask/no\*(C'\fR, \s-1CPAN\s0.pm asks the user and sets the default accordingly. )         (rof_escape_sequence|91|CPAN.3pm|952|\*(--thus disturbing the installation of large bundles like |interactively\*(--thus disturbing the installation of large bundles like )         (rof_escape_sequence|91|CPAN.3pm|955|\*(C`CPAN.pm\*(C'\fR addresses this problem by |The distroprefs system of \f(CW\*(C`CPAN.pm\*(C'\fR addresses this problem by )         (rof_escape_sequence|91|CPAN.3pm|966|\*(C`CPAN.pm\*(C'\fR configuration variables |temporarily override assorted \f(CW\*(C`CPAN.pm\*(C'\fR configuration variables )         (rof_escape_sequence|91|CPAN.3pm|972|\*(C`CPAN.pm\*(C'\fR |See the \s-1YAML\s0 and Data::Dumper files that come with the \f(CW\*(C`CPAN.pm\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|973|\*(C`distroprefs/\*(C'\fR directory for examples. |distribution in the \f(CW\*(C`distroprefs/\*(C'\fR directory for examples. )         (rof_escape_sequence|91|CPAN.3pm|976|\*(C`.yml\*(C'\fR extension; all other |The \s-1YAML\s0 files themselves must have the \f(CW\*(C`.yml\*(C'\fR extension; all other )         (rof_escape_sequence|91|CPAN.3pm|979|\*(C`CPAN.pm\*(C'\fR in the \f(CW\*(C`prefs_dir\*(C'\fR config variable. Try \f(CW\*(C`o conf init |\&\f(CW\*(C`CPAN.pm\*(C'\fR in the \f(CW\*(C`prefs_dir\*(C'\fR config variable. Try \f(CW\*(C`o conf init )         (rof_escape_sequence|91|CPAN.3pm|980|\*(C'\fR in the \s-1CPAN\s0 shell to set and activate the distroprefs |prefs_dir\*(C'\fR in the \s-1CPAN\s0 shell to set and activate the distroprefs )         (rof_escape_sequence|91|CPAN.3pm|987|\*(C`CPAN.pm\*(C'\fR always reads |Filenames can be picked arbitrarily; \f(CW\*(C`CPAN.pm\*(C'\fR always reads )         (rof_escape_sequence|91|CPAN.3pm|988|\*(C`match\*(C'\fR (see |all files (in alphabetical order) and takes the key \f(CW\*(C`match\*(C'\fR (see )         (rof_escape_sequence|91|CPAN.3pm|994|\*(C`yaml_module\*(C'\fR nor \s-1YAML\s0.pm is installed, |If neither your configured \f(CW\*(C`yaml_module\*(C'\fR nor \s-1YAML\s0.pm is installed, )         (rof_escape_sequence|91|CPAN.3pm|996|\*(C`.dd\*(C'\fR or \f(CW\*(C`.st\*(C'\fR in the \f(CW\*(C`prefs_dir\*(C'\fR |files with the extensions \f(CW\*(C`.dd\*(C'\fR or \f(CW\*(C`.st\*(C'\fR in the \f(CW\*(C`prefs_dir\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1007|\*(C`Storable::retrieve(file)\*(C'\fR returns an array reference and the array |\&\f(CW\*(C`Storable::retrieve(file)\*(C'\fR returns an array reference and the array )         (rof_escape_sequence|91|CPAN.3pm|1019|\*(C`YAML::Syck\*(C'\fR, \f(CW\*(C`YAML.pm\*(C'\fR and \f(CW\*(C`Expect.pm\*(C'\fR. If you prefer Storable |\&\f(CW\*(C`YAML::Syck\*(C'\fR, \f(CW\*(C`YAML.pm\*(C'\fR and \f(CW\*(C`Expect.pm\*(C'\fR. If you prefer Storable )         (rof_escape_sequence|91|CPAN.3pm|1026|\*(C`eexpect\*(C'\fR which can be used instead of |with the exception of \f(CW\*(C`eexpect\*(C'\fR which can be used instead of )         (rof_escape_sequence|91|CPAN.3pm|1027|\*(C`expect\*(C'\fR. |\&\f(CW\*(C`expect\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|1103|\*(C`CPAN.pm\*(C'\fR configuration variables. |Temporarily override assorted \f(CW\*(C`CPAN.pm\*(C'\fR configuration variables. )         (rof_escape_sequence|91|CPAN.3pm|1105|\*(C`build_requires_install_policy\*(C'\fR, \f(CW\*(C`check_sigs\*(C'\fR, |Supported are: \f(CW\*(C`build_requires_install_policy\*(C'\fR, \f(CW\*(C`check_sigs\*(C'\fR, )         (rof_escape_sequence|91|CPAN.3pm|1106|\*(C`make\*(C'\fR, \f(CW\*(C`make_install_make_command\*(C'\fR, \f(CW\*(C`prefer_installer\*(C'\fR, |\&\f(CW\*(C`make\*(C'\fR, \f(CW\*(C`make_install_make_command\*(C'\fR, \f(CW\*(C`prefer_installer\*(C'\fR, )         (rof_escape_sequence|91|CPAN.3pm|1107|\*(C`test_report\*(C'\fR. Please report as a bug when you need another one |\&\f(CW\*(C`test_report\*(C'\fR. Please report as a bug when you need another one )         (rof_escape_sequence|91|CPAN.3pm|1111|\*(C`configure_requires\*(C'\fR, \f(CW\*(C`build_requires\*(C'\fR, and |All three types, namely \f(CW\*(C`configure_requires\*(C'\fR, \f(CW\*(C`build_requires\*(C'\fR, and )         (rof_escape_sequence|91|CPAN.3pm|1112|\*(C`requires\*(C'\fR are supported in the way specified in the \s-1META\s0.yml |\&\f(CW\*(C`requires\*(C'\fR are supported in the way specified in the \s-1META\s0.yml )         (rof_escape_sequence|91|CPAN.3pm|1124|\*(C`dynamic_config=0\*(C'\fR. Use |currently works only for \s-1META\s0.yml declaring \f(CW\*(C`dynamic_config=0\*(C'\fR. Use )         (rof_escape_sequence|91|CPAN.3pm|1134|\*(C`make install\*(C'\fR or \f(CW\*(C`./Build install\*(C'\fR |Processing instructions for the \f(CW\*(C`make install\*(C'\fR or \f(CW\*(C`./Build install\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1138|\*(C`make\*(C'\fR or \f(CW\*(C`./Build\*(C'\fR phase of the |Processing instructions for the \f(CW\*(C`make\*(C'\fR or \f(CW\*(C`./Build\*(C'\fR phase of the )         (rof_escape_sequence|91|CPAN.3pm|1142|\*(C`distribution\*(C'\fR, \f(CW\*(C`modules\*(C'\fR, |A hashref with one or more of the keys \f(CW\*(C`distribution\*(C'\fR, \f(CW\*(C`modules\*(C'\fR, )         (rof_escape_sequence|91|CPAN.3pm|1143|\*(C`perl\*(C'\fR, \f(CW\*(C`perlconfig\*(C'\fR, and \f(CW\*(C`env\*(C'\fR that specify whether a document is |\&\f(CW\*(C`perl\*(C'\fR, \f(CW\*(C`perlconfig\*(C'\fR, and \f(CW\*(C`env\*(C'\fR that specify whether a document is )         (rof_escape_sequence|91|CPAN.3pm|1145|\*(C`not_\*(C'\fR negates the corresponding match. |Keys prefixed with \f(CW\*(C`not_\*(C'\fR negates the corresponding match. )         (rof_escape_sequence|91|CPAN.3pm|1148|\*(C`distribution\*(C'\fR related one will be matched against the canonical |\&\f(CW\*(C`distribution\*(C'\fR related one will be matched against the canonical )         (rof_escape_sequence|91|CPAN.3pm|1151|\*(C`module\*(C'\fR related one will be matched against \fIall\fR modules |The \f(CW\*(C`module\*(C'\fR related one will be matched against \fIall\fR modules )         (rof_escape_sequence|91|CPAN.3pm|1154|\*(C`perl\*(C'\fR related one will be matched against \f(CW$^X\fR (but with the |The \f(CW\*(C`perl\*(C'\fR related one will be matched against \f(CW$^X\fR (but with the )         (rof_escape_sequence|91|CPAN.3pm|1157|\*(C`perlconfig\*(C'\fR is itself a hashref that is |The value associated with \f(CW\*(C`perlconfig\*(C'\fR is itself a hashref that is )         (rof_escape_sequence|91|CPAN.3pm|1159|\*(C`Config.pm\*(C'\fR module. |living in the \f(CW\*(C`Config.pm\*(C'\fR module. )         (rof_escape_sequence|91|CPAN.3pm|1160|\*(C`not_\*(C'\fR negates the corresponding match. |Keys prefixed with \f(CW\*(C`not_\*(C'\fR negates the corresponding match. )         (rof_escape_sequence|91|CPAN.3pm|1162|\*(C`env\*(C'\fR is itself a hashref that is |The value associated with \f(CW\*(C`env\*(C'\fR is itself a hashref that is )         (rof_escape_sequence|91|CPAN.3pm|1164|\*(C`not_\*(C'\fR negates the corresponding match. |Keys prefixed with \f(CW\*(C`not_\*(C'\fR negates the corresponding match. )         (rof_escape_sequence|91|CPAN.3pm|1166|\*(C`module\*(C'\fR, \f(CW\*(C`distribution\*(C'\fR, etc. is |If more than one restriction of \f(CW\*(C`module\*(C'\fR, \f(CW\*(C`distribution\*(C'\fR, etc. is )         (rof_escape_sequence|91|CPAN.3pm|1174|\*(C`\-p\*(C'\fR |order via an external patch program. If the value for the \f(CW\*(C`\-p\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1178|\*(C`patches_dir\*(C'\fR configuration variable or in the format of a canonical |\&\f(CW\*(C`patches_dir\*(C'\fR configuration variable or in the format of a canonical )         (rof_escape_sequence|91|CPAN.3pm|1183|\*(C`applypatch\*(C'\fR program is installed and \f(CW\*(C`CPAN::Config\*(C'\fR |Note: if the \f(CW\*(C`applypatch\*(C'\fR program is installed and \f(CW\*(C`CPAN::Config\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1184|\*(C`makepatch\*(C'\fR program, |knows about it \fBand\fR a patch is written by the \f(CW\*(C`makepatch\*(C'\fR program, )         (rof_escape_sequence|91|CPAN.3pm|1185|\*(C`CPAN.pm\*(C'\fR lets \f(CW\*(C`applypatch\*(C'\fR apply the patch. Both \f(CW\*(C`makepatch\*(C'\fR |then \f(CW\*(C`CPAN.pm\*(C'\fR lets \f(CW\*(C`applypatch\*(C'\fR apply the patch. Both \f(CW\*(C`makepatch\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1186|\*(C`applypatch\*(C'\fR are available from \s-1CPAN\s0 in the \f(CW\*(C`JV/makepatch\-*\*(C'\fR |and \f(CW\*(C`applypatch\*(C'\fR are available from \s-1CPAN\s0 in the \f(CW\*(C`JV/makepatch\-*\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1190|\*(C`perl Makefile.PL\*(C'\fR or \f(CW\*(C`perl |Processing instructions for the \f(CW\*(C`perl Makefile.PL\*(C'\fR or \f(CW\*(C`perl )         (rof_escape_sequence|91|CPAN.3pm|1191|\*(C'\fR phase of the \s-1CPAN\s0 mantra. See below under \fIProcessing |Build.PL\*(C'\fR phase of the \s-1CPAN\s0 mantra. See below under \fIProcessing )         (rof_escape_sequence|91|CPAN.3pm|1195|\*(C`make test\*(C'\fR or \f(CW\*(C`./Build test\*(C'\fR phase |Processing instructions for the \f(CW\*(C`make test\*(C'\fR or \f(CW\*(C`./Build test\*(C'\fR phase )         (rof_escape_sequence|91|CPAN.3pm|1204|\*(C`system()\*(C'\fR. |A full commandline to run via \f(CW\*(C`system()\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|1206|\*(C`commandline\*(C'\fR is specified, |to $^X (but with an absolute path). If \f(CW\*(C`commandline\*(C'\fR is specified, )         (rof_escape_sequence|91|CPAN.3pm|1207|\*(C`args\*(C'\fR is not used. |\&\f(CW\*(C`args\*(C'\fR is not used. )         (rof_escape_sequence|91|CPAN.3pm|1210|\*(C`expect\*(C'\fR. This is a hash reference with four allowed keys, |Extended \f(CW\*(C`expect\*(C'\fR. This is a hash reference with four allowed keys, )         (rof_escape_sequence|91|CPAN.3pm|1211|\*(C`mode\*(C'\fR, \f(CW\*(C`timeout\*(C'\fR, \f(CW\*(C`reuse\*(C'\fR, and \f(CW\*(C`talk\*(C'\fR. |\&\f(CW\*(C`mode\*(C'\fR, \f(CW\*(C`timeout\*(C'\fR, \f(CW\*(C`reuse\*(C'\fR, and \f(CW\*(C`talk\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|1213|\*(C`mode\*(C'\fR may have the values \f(CW\*(C`deterministic\*(C'\fR for the case where all |\&\f(CW\*(C`mode\*(C'\fR may have the values \f(CW\*(C`deterministic\*(C'\fR for the case where all )         (rof_escape_sequence|91|CPAN.3pm|1214|\*(C`anyorder\*(C'\fR for the case |questions come in the order written down and \f(CW\*(C`anyorder\*(C'\fR for the case )         (rof_escape_sequence|91|CPAN.3pm|1216|\*(C`deterministic\*(C'\fR. |\&\f(CW\*(C`deterministic\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|1218|\*(C`timeout\*(C'\fR denotes a timeout in seconds. Floating-point timeouts are |\&\f(CW\*(C`timeout\*(C'\fR denotes a timeout in seconds. Floating-point timeouts are )         (rof_escape_sequence|91|CPAN.3pm|1219|\*(C`mode=deterministic\*(C'\fR, the timeout denotes the |\&\s-1OK\s0. With \f(CW\*(C`mode=deterministic\*(C'\fR, the timeout denotes the )         (rof_escape_sequence|91|CPAN.3pm|1220|\*(C`mode=anyorder\*(C'\fR it denotes the |timeout per question; with \f(CW\*(C`mode=anyorder\*(C'\fR it denotes the )         (rof_escape_sequence|91|CPAN.3pm|1223|\*(C`talk\*(C'\fR is a reference to an array that contains alternating questions |\&\f(CW\*(C`talk\*(C'\fR is a reference to an array that contains alternating questions )         (rof_escape_sequence|91|CPAN.3pm|1226|\*(C`perl Makefile.PL\*(C'\fR, \f(CW\*(C`perl |execution of the external program (\f(CW\*(C`perl Makefile.PL\*(C'\fR, \f(CW\*(C`perl )         (rof_escape_sequence|91|CPAN.3pm|1227|\*(C'\fR, \f(CW\*(C`make\*(C'\fR, etc.). |Build.PL\*(C'\fR, \f(CW\*(C`make\*(C'\fR, etc.). )         (rof_escape_sequence|91|CPAN.3pm|1229|\*(C`mode=deterministic\*(C'\fR, the \s-1CPAN\s0.pm injects the |For \f(CW\*(C`mode=deterministic\*(C'\fR, the \s-1CPAN\s0.pm injects the )         (rof_escape_sequence|91|CPAN.3pm|1232|\*(C`mode=anyorder\*(C'\fR \s-1CPAN\s0.pm answers a question as soon |For \f(CW\*(C`mode=anyorder\*(C'\fR \s-1CPAN\s0.pm answers a question as soon )         (rof_escape_sequence|91|CPAN.3pm|1234|\*(C`reuse\*(C'\fR parameter to decide what will |this mode you can use the \f(CW\*(C`reuse\*(C'\fR parameter to decide what will )         (rof_escape_sequence|91|CPAN.3pm|1238|\*(C`Do you really want to do that\*(C'\fR several times, then it must |question \f(CW\*(C`Do you really want to do that\*(C'\fR several times, then it must )         (rof_escape_sequence|91|CPAN.3pm|1240|\*(C`reuse\*(C'\fR to 1 makes this repetition |be given. Setting the parameter \f(CW\*(C`reuse\*(C'\fR to 1 makes this repetition )         (rof_escape_sequence|91|CPAN.3pm|1247|\*(C`expect: \*(C'\fR is a short notation for |\&\f(CW\*(C`expect: \*(C'\fR is a short notation for )         (rof_escape_sequence|91|CPAN.3pm|1256|\*(C`Kwalify\*(C'\fR module installed (which is part of the |If you have the \f(CW\*(C`Kwalify\*(C'\fR module installed (which is part of the )         (rof_escape_sequence|91|CPAN.3pm|1261|\*(C`CPAN.pm\*(C'\fR comes with a collection of example \s-1YAML\s0 files. Note that these |\&\f(CW\*(C`CPAN.pm\*(C'\fR comes with a collection of example \s-1YAML\s0 files. Note that these )         (rof_escape_sequence|91|CPAN.3pm|1270|\*(C`CPAN::Shell\->install(...)\*(C'\fR) and as |available both as methods (\f(CW\*(C`CPAN::Shell\->install(...)\*(C'\fR) and as )         (rof_escape_sequence|91|CPAN.3pm|1271|\*(C`install(...)\*(C'\fR). Before calling low-level |functions in the calling package (\f(CW\*(C`install(...)\*(C'\fR). Before calling low-level )         (rof_escape_sequence|91|CPAN.3pm|1285|\*(C`r\*(C'\fR, \f(CW\*(C`autobundle\*(C'\fR, \f(CW\*(C`u\*(C'\fR) also return a list of |listings of modules (\f(CW\*(C`r\*(C'\fR, \f(CW\*(C`autobundle\*(C'\fR, \f(CW\*(C`u\*(C'\fR) also return a list of )         (rof_escape_sequence|91|CPAN.3pm|1291|\*(C`CPAN::Shell\->expand("Module",@things)\*(C'\fR method. Expand returns a |\&\f(CW\*(C`CPAN::Shell\->expand("Module",@things)\*(C'\fR method. Expand returns a )         (rof_escape_sequence|91|CPAN.3pm|1336|\*(C`/modules are up to date/\*(C'\fR and decide to mail the output |expression \f(CW\*(C`/modules are up to date/\*(C'\fR and decide to mail the output )         (rof_escape_sequence|91|CPAN.3pm|1394|\*(C`clean\*(C'\fR method on all items contained in the bundle. |Recursively runs the \f(CW\*(C`clean\*(C'\fR method on all items contained in the bundle. )         (rof_escape_sequence|91|CPAN.3pm|1405|\*(C`force\*(C'\fR is passed recursively |does not refuse to take the action. The \f(CW\*(C`force\*(C'\fR is passed recursively )         (rof_escape_sequence|91|CPAN.3pm|1406|\*(C`force\*(C'\fR |to all contained objects. See also the section above on the \f(CW\*(C`force\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1407|\*(C`fforce\*(C'\fR pragma. |and the \f(CW\*(C`fforce\*(C'\fR pragma. )         (rof_escape_sequence|91|CPAN.3pm|1410|\*(C`get\*(C'\fR method on all items contained in the bundle |Recursively runs the \f(CW\*(C`get\*(C'\fR method on all items contained in the bundle )         (rof_escape_sequence|91|CPAN.3pm|1414|\*(C`$CPAN::Config\-\*(C'\fR{cpan_home}>. Note that this is different from |\&\f(CW\*(C`$CPAN::Config\-\*(C'\fR{cpan_home}>. Note that this is different from )         (rof_escape_sequence|91|CPAN.3pm|1424|\*(C`install\*(C'\fR method on all items contained in the bundle |Recursively runs the \f(CW\*(C`install\*(C'\fR method on all items contained in the bundle )         (rof_escape_sequence|91|CPAN.3pm|1427|\*(C`make\*(C'\fR method on all items contained in the bundle |Recursively runs the \f(CW\*(C`make\*(C'\fR method on all items contained in the bundle )         (rof_escape_sequence|91|CPAN.3pm|1430|\*(C`readme\*(C'\fR method on all items contained in the bundle |Recursively runs the \f(CW\*(C`readme\*(C'\fR method on all items contained in the bundle )         (rof_escape_sequence|91|CPAN.3pm|1433|\*(C`test\*(C'\fR method on all items contained in the bundle |Recursively runs the \f(CW\*(C`test\*(C'\fR method on all items contained in the bundle )         (rof_escape_sequence|91|CPAN.3pm|1455|\*(C`make clean\*(C'\fR there. |runs \f(CW\*(C`make clean\*(C'\fR there. )         (rof_escape_sequence|91|CPAN.3pm|1482|\*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. |\&\f(CW\*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. )         (rof_escape_sequence|91|CPAN.3pm|1491|\*(C`make install\*(C'\fR there. If \f(CW\*(C`make\*(C'\fR has not |runs the external command \f(CW\*(C`make install\*(C'\fR there. If \f(CW\*(C`make\*(C'\fR has not )         (rof_escape_sequence|91|CPAN.3pm|1492|\*(C`make test\*(C'\fR is issued in |yet been run, it will be run first. A \f(CW\*(C`make test\*(C'\fR is issued in )         (rof_escape_sequence|91|CPAN.3pm|1494|\*(C`force\*(C'\fR run the \f(CW\*(C`install\*(C'\fR for |cancellation can be avoided by letting \f(CW\*(C`force\*(C'\fR run the \f(CW\*(C`install\*(C'\fR for )         (rof_escape_sequence|91|CPAN.3pm|1505|\*(C`is_tested\*(C'\fR. |not yet installed. See also \f(CW\*(C`is_tested\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|1518|\*(C`get\*(C'\fR method to make sure the distribution is |First runs the \f(CW\*(C`get\*(C'\fR method to make sure the distribution is )         (rof_escape_sequence|91|CPAN.3pm|1520|\*(C`perl |distribution has been unpacked and runs the external commands \f(CW\*(C`perl )         (rof_escape_sequence|91|CPAN.3pm|1521|\*(C'\fR or \f(CW\*(C`perl Build.PL\*(C'\fR and \f(CW\*(C`make\*(C'\fR there. |Makefile.PL\*(C'\fR or \f(CW\*(C`perl Build.PL\*(C'\fR and \f(CW\*(C`make\*(C'\fR there. )         (rof_escape_sequence|91|CPAN.3pm|1526|\*(C`$CPAN::Config\-\*(C'\fR{lynx}>. If \fIlynx\fR |command \fIlynx\fR specified in \f(CW\*(C`$CPAN::Config\-\*(C'\fR{lynx}>. If \fIlynx\fR )         (rof_escape_sequence|91|CPAN.3pm|1529|\*(C`$CPAN::Config\-\*(C'\fR{pager}> |in \f(CW\*(C`$CPAN::Config\-\*(C'\fR{pager}> )         (rof_escape_sequence|91|CPAN.3pm|1533|\*(C`prefs_dir/\*(C'\fR directory. The first |user has deposited in the \f(CW\*(C`prefs_dir/\*(C'\fR directory. The first )         (rof_escape_sequence|91|CPAN.3pm|1534|\*(C`prefs_dir/\*(C'\fR are processed |succeeding match wins. The files in the \f(CW\*(C`prefs_dir/\*(C'\fR are processed )         (rof_escape_sequence|91|CPAN.3pm|1545|\*(C`requires\*(C'\fR and \f(CW\*(C`build_requires\*(C'\fR elements. These can be |as the \f(CW\*(C`requires\*(C'\fR and \f(CW\*(C`build_requires\*(C'\fR elements. These can be )         (rof_escape_sequence|91|CPAN.3pm|1546|\*(C`META.yml\*(C'\fR (if authoritative) or can be |declared either by the \f(CW\*(C`META.yml\*(C'\fR (if authoritative) or can be )         (rof_escape_sequence|91|CPAN.3pm|1547|\*(C`Build.PL\*(C'\fR in the file \f(CW\*(C`./_build/prereqs\*(C'\fR |deposited after the run of \f(CW\*(C`Build.PL\*(C'\fR in the file \f(CW\*(C`./_build/prereqs\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1548|\*(C`Makfile.PL\*(C'\fR written as the \f(CW\*(C`PREREQ_PM\*(C'\fR hash in |or after the run of \f(CW\*(C`Makfile.PL\*(C'\fR written as the \f(CW\*(C`PREREQ_PM\*(C'\fR hash in )         (rof_escape_sequence|91|CPAN.3pm|1549|\*(C`Makefile\*(C'\fR. \fINote\fR: this method only works |a comment in the produced \f(CW\*(C`Makefile\*(C'\fR. \fINote\fR: this method only works )         (rof_escape_sequence|91|CPAN.3pm|1550|\*(C`make\*(C'\fR the distribution. Returns |after an attempt has been made to \f(CW\*(C`make\*(C'\fR the distribution. Returns )         (rof_escape_sequence|91|CPAN.3pm|1555|\*(C`$CPAN::Config\-\*(C'\fR{pager}>. |through the pager specified in \f(CW\*(C`$CPAN::Config\-\*(C'\fR{pager}>. )         (rof_escape_sequence|91|CPAN.3pm|1563|\*(C`make\*(C'\fR the distribution. |works only after an attempt has been made to \f(CW\*(C`make\*(C'\fR the distribution. )         (rof_escape_sequence|91|CPAN.3pm|1570|\*(C`make test\*(C'\fR there. |runs \f(CW\*(C`make test\*(C'\fR there. )         (rof_escape_sequence|91|CPAN.3pm|1581|\*(C`$CPAN::Config\-\*(C'\fR{index_expire}> days. |\&\f(CW\*(C`$CPAN::Config\-\*(C'\fR{index_expire}> days. )         (rof_escape_sequence|91|CPAN.3pm|1591|\*(C`Module\*(C'\fR, the second column consists |first column contains the word \f(CW\*(C`Module\*(C'\fR, the second column consists )         (rof_escape_sequence|91|CPAN.3pm|1623|\*(C`D\*(C'\fR, |Returns a hash reference. The keys of the hash are the letters \f(CW\*(C`D\*(C'\fR, )         (rof_escape_sequence|91|CPAN.3pm|1624|\*(C`S\*(C'\fR, \f(CW\*(C`L\*(C'\fR, \f(CW\*(C`I\*(C'\fR, and

, for development status, support level, |\&\f(CW\*(C`S\*(C'\fR, \f(CW\*(C`L\*(C'\fR, \f(CW\*(C`I\*(C'\fR, and

, for development status, support level, )         (rof_escape_sequence|91|CPAN.3pm|1629|\*(C`DV\*(C'\fR, \f(CW\*(C`SV\*(C'\fR, \f(CW\*(C`LV\*(C'\fR, \f(CW\*(C`IV\*(C'\fR, and <\s-1PV\s0> that carry a more |hash elements \f(CW\*(C`DV\*(C'\fR, \f(CW\*(C`SV\*(C'\fR, \f(CW\*(C`LV\*(C'\fR, \f(CW\*(C`IV\*(C'\fR, and <\s-1PV\s0> that carry a more )         (rof_escape_sequence|91|CPAN.3pm|1684|\*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. |\&\f(CW\*(C`force\*(C'\fR and the \f(CW\*(C`fforce\*(C'\fR pragma. )         (rof_escape_sequence|91|CPAN.3pm|1697|\*(C`inst_file\*(C'\fR is that modules that have been tested but not yet |\&\f(CW\*(C`inst_file\*(C'\fR is that modules that have been tested but not yet )         (rof_escape_sequence|91|CPAN.3pm|1707|\*(C`install\*(C'\fR on the distribution associated with this module. |Runs an \f(CW\*(C`install\*(C'\fR on the distribution associated with this module. )         (rof_escape_sequence|91|CPAN.3pm|1715|\*(C`make\*(C'\fR on the distribution associated with this module. |Runs a \f(CW\*(C`make\*(C'\fR on the distribution associated with this module. )         (rof_escape_sequence|91|CPAN.3pm|1724|\*(C`perldoc\*(C'\fR on this module. |Runs a \f(CW\*(C`perldoc\*(C'\fR on this module. )         (rof_escape_sequence|91|CPAN.3pm|1727|\*(C`readme\*(C'\fR on the distribution associated with this module. |Runs a \f(CW\*(C`readme\*(C'\fR on the distribution associated with this module. )         (rof_escape_sequence|91|CPAN.3pm|1733|\*(C`test\*(C'\fR on the distribution associated with this module. |Runs a \f(CW\*(C`test\*(C'\fR on the distribution associated with this module. )         (rof_escape_sequence|91|CPAN.3pm|1744|\*(C`build_dir\*(C'\fR as soon as the size of |deletes complete directories below \f(CW\*(C`build_dir\*(C'\fR as soon as the size of )         (rof_escape_sequence|91|CPAN.3pm|1798|\*(C`ftp:\*(C'\fR. |associated with a \s-1URL\s0 that is not \f(CW\*(C`ftp:\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|1824|\*(C`Makefile.PL\*(C'\fR or \f(CW\*(C`Build.PL\*(C'\fR (well, we try to handle a bit more, but |\&\f(CW\*(C`Makefile.PL\*(C'\fR or \f(CW\*(C`Build.PL\*(C'\fR (well, we try to handle a bit more, but )         (rof_escape_sequence|91|CPAN.3pm|1848|\*(C`o debug 0\*(C'\fR |which sets the debugging packages directly. Note that \f(CW\*(C`o debug 0\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1851|\*(C`reload |What seems a successful strategy is the combination of \f(CW\*(C`reload )         (rof_escape_sequence|91|CPAN.3pm|1852|\*(C'\fR and the debugging switches. Add a new debug statement while |cpan\*(C'\fR and the debugging switches. Add a new debug statement while )         (rof_escape_sequence|91|CPAN.3pm|1853|\*(C`reload cpan\*(C'\fR and see the new |running in the shell and then issue a \f(CW\*(C`reload cpan\*(C'\fR and see the new )         (rof_escape_sequence|91|CPAN.3pm|1856|\*(C`o debug\*(C'\fR without an argument lists the valid package names and the |\&\f(CW\*(C`o debug\*(C'\fR without an argument lists the valid package names and the )         (rof_escape_sequence|91|CPAN.3pm|1857|\*(C`o debug\*(C'\fR has built-in |current set of packages in debugging mode. \f(CW\*(C`o debug\*(C'\fR has built-in )         (rof_escape_sequence|91|CPAN.3pm|1860|\*(C`dump\*(C'\fR command which takes |For debugging of \s-1CPAN\s0 data there is the \f(CW\*(C`dump\*(C'\fR command which takes )         (rof_escape_sequence|91|CPAN.3pm|1863|\*(C`$\*(C'\fR, \f(CW\*(C`@\*(C'\fR or \f(CW\*(C`%\*(C'\fR, it is \fIeval()\fRed and fed to |contains one of \f(CW\*(C`$\*(C'\fR, \f(CW\*(C`@\*(C'\fR or \f(CW\*(C`%\*(C'\fR, it is \fIeval()\fRed and fed to )         (rof_escape_sequence|91|CPAN.3pm|1868|\*(C`file:\*(C'\fR |that are not networked at all, you should consider working with \f(CW\*(C`file:\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|1881|\*(C`dontload_list\*(C'\fR intercepts the \f(CW\*(C`has_inst()\*(C'\fR call such |\&\f(CW\*(C`dontload_list\*(C'\fR intercepts the \f(CW\*(C`has_inst()\*(C'\fR call such )         (rof_escape_sequence|91|CPAN.3pm|1883|\*(C`YAML.pm\*(C'\fR from being |example, the following command will prevent \f(CW\*(C`YAML.pm\*(C'\fR from being )         (rof_escape_sequence|91|CPAN.3pm|1940|\*(C`perl Makefile.PL\*(C'\fR, the environment variable |When running \f(CW\*(C`perl Makefile.PL\*(C'\fR, the environment variable )         (rof_escape_sequence|91|CPAN.3pm|1941|\*(C`PERL5_CPAN_IS_EXECUTING\*(C'\fR is set to the full path of the |\&\f(CW\*(C`PERL5_CPAN_IS_EXECUTING\*(C'\fR is set to the full path of the )         (rof_escape_sequence|91|CPAN.3pm|1942|\*(C`Makefile.PL\*(C'\fR that is being executed. This prevents runaway processes |\&\f(CW\*(C`Makefile.PL\*(C'\fR that is being executed. This prevents runaway processes )         (rof_escape_sequence|91|CPAN.3pm|2034|\*(C`FTP_PASSIVE\*(C'\fR or the config variable |set the environment variable \f(CW\*(C`FTP_PASSIVE\*(C'\fR or the config variable )         (rof_escape_sequence|91|CPAN.3pm|2074|\*(C`UNINST=1\*(C'\fR to the \f(CW\*(C`make install\*(C'\fR call, and that is why |the argument \f(CW\*(C`UNINST=1\*(C'\fR to the \f(CW\*(C`make install\*(C'\fR call, and that is why )         (rof_escape_sequence|91|CPAN.3pm|2086|\*(C`UNINST=1\*(C'\fR can cause damage. |fine tuned environments \f(CW\*(C`UNINST=1\*(C'\fR can cause damage. )         (rof_escape_sequence|91|CPAN.3pm|2166|\*(C`o conf\*(C'\fR settings with |You can make this setting permanent like all \f(CW\*(C`o conf\*(C'\fR settings with )         (rof_escape_sequence|91|CPAN.3pm|2167|\*(C`o conf commit\*(C'\fR or by setting \f(CW\*(C`auto_commit\*(C'\fR beforehand. |\&\f(CW\*(C`o conf commit\*(C'\fR or by setting \f(CW\*(C`auto_commit\*(C'\fR beforehand. )         (rof_escape_sequence|91|CPAN.3pm|2191|\*(C`look\*(C'\fR (!) command. |Have a look at the \f(CW\*(C`look\*(C'\fR (!) command. )         (rof_escape_sequence|91|CPAN.3pm|2208|\*(C`requires\*(C'\fR stanza of Module::Build. For bundles which fail and |the \f(CW\*(C`requires\*(C'\fR stanza of Module::Build. For bundles which fail and )         (rof_escape_sequence|91|CPAN.3pm|2221|\*(C`/etc/inputrc\*(C'\fR (or \f(CW\*(C`~/.inputrc\*(C'\fR) file. |\&\f(CW\*(C`/etc/inputrc\*(C'\fR (or \f(CW\*(C`~/.inputrc\*(C'\fR) file. )         (rof_escape_sequence|91|CPAN.3pm|2225|\*(C`/etc/inputrc\*(C'\fR or \f(CW\*(C`~/.inputrc\*(C'\fR |accordingly. Please make a backup of the \f(CW\*(C`/etc/inputrc\*(C'\fR or \f(CW\*(C`~/.inputrc\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|2252|\*(C`Already tried without success\*(C'\fR. |\&\f(CW\*(C`Already tried without success\*(C'\fR. )         (rof_escape_sequence|91|CPAN.3pm|2266|\*(C`make install\*(C'\fR directly in the subshell. |and then \f(CW\*(C`make install\*(C'\fR directly in the subshell. )         (rof_escape_sequence|91|CPAN.3pm|2280|\*(C`ls\*(C'\fR command to get this path listed. |Note that you can use the \f(CW\*(C`ls\*(C'\fR command to get this path listed. )         (rof_escape_sequence|91|CPAN.3pm|2327|\*(C`hosts\*(C'\fR command will probably assist you in choosing the best mirror |\&\f(CW\*(C`hosts\*(C'\fR command will probably assist you in choosing the best mirror )         (rof_escape_sequence|91|CPAN.3pm|2334|\*(C`o conf commit\*(C'\fR. Alternatively set the \f(CW\*(C`auto_commit\*(C'\fR |command \f(CW\*(C`o conf commit\*(C'\fR. Alternatively set the \f(CW\*(C`auto_commit\*(C'\fR )         (rof_escape_sequence|91|CPAN.3pm|2335|\*(C`o conf init auto_commit\*(C'\fR and answering |variable to true by running \f(CW\*(C`o conf init auto_commit\*(C'\fR and answering )         (rof_escape_sequence|91|CPAN.3pm|2350|\*(C`scan_cache\*(C'\fR to |You have the choice to set the config variable \f(CW\*(C`scan_cache\*(C'\fR to )         (rof_escape_sequence|91|CPAN.3pm|2351|\*(C`never\*(C'\fR. Then you must clean it up yourself. The other possible |\&\f(CW\*(C`never\*(C'\fR. Then you must clean it up yourself. The other possible )         (rof_escape_sequence|91|CPAN.3pm|2352|\*(C`atstart\*(C'\fR only cleans up the build directory when you start |value, \f(CW\*(C`atstart\*(C'\fR only cleans up the build directory when you start )         (rof_escape_sequence|91|CPAN.3pm|2390|\*(C`\*(C'\fR |Andreas Koenig \f(CW\*(C`\*(C'\fR )