📄 cpan::firsttime.3
字号:
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05).\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings. \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote. \*(C+ will.\" give a nicer C++. Capital omega is used to do unbreakable dashes and.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,.\" nothing in troff, for use with C<>..tr \(*W-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\. ds -- \(*W-. ds PI pi. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch. ds L" "". ds R" "". ds C` "". ds C' ""'br\}.el\{\. ds -- \|\(em\|. ds PI \(*p. ds L" ``. ds R" '''br\}.\".\" Escape single quotes in literal strings from groff's Unicode transform..ie \n(.g .ds Aq \(aq.el .ds Aq '.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD. Of course, you'll have to process the.\" output yourself in some meaningful fashion..ie \nF \{\. de IX. tm Index:\\$1\t\\n%\t"\\$2"... nr % 0. rr F.\}.el \{\. de IX...\}.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear. Run. Save yourself. No user-serviceable parts.. \" fudge factors for nroff and troff.if n \{\. ds #H 0. ds #V .8m. ds #F .3m. ds #[ \f1. ds #] \fP.\}.if t \{\. ds #H ((1u-(\\\\n(.fu%2u))*.13m). ds #V .6m. ds #F 0. ds #[ \&. ds #] \&.\}. \" simple accents for nroff and troff.if n \{\. ds ' \&. ds ` \&. ds ^ \&. ds , \&. ds ~ ~. ds /.\}.if t \{\. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u". ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}. \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E. \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'. \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\. ds : e. ds 8 ss. ds o a. ds d- d\h'-1'\(ga. ds D- D\h'-1'\(hy. ds th \o'bp'. ds Th \o'LP'. ds ae ae. ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "CPAN::FirstTime 3".TH CPAN::FirstTime 3 "2007-12-18" "perl v5.10.0" "Perl Programmers Reference Guide".\" For nroff, turn off justification. Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..if n .ad l.nh.SH "NAME"CPAN::FirstTime \- Utility for CPAN::Config file Initialization.SH "SYNOPSIS".IX Header "SYNOPSIS"\&\fICPAN::FirstTime::init()\fR.SH "DESCRIPTION".IX Header "DESCRIPTION"The init routine asks a few questions and writes a CPAN/Config.pm orCPAN/MyConfig.pm file (depending on what it is currently using)..PPIn the following all questions and explanations regarding configvariables are collected..IP "auto_commit" 2.IX Item "auto_commit"Normally \s-1CPAN\s0.pm keeps config variables in memory and changes need tobe saved in a separate 'o conf commit' command to make them permanentbetween sessions. If you set the 'auto_commit' option to true, changesto a config variable are always automatically committed to disk..SpAlways commit changes to config variables to disk?.IP "build_cache" 2.IX Item "build_cache"\&\s-1CPAN\s0.pm can limit the size of the disk area for keeping the builddirectories with all the intermediate files..SpCache size for build directory (in \s-1MB\s0)?.IP "build_dir" 2.IX Item "build_dir"Directory where the build process takes place?.IP "build_dir_reuse" 2.IX Item "build_dir_reuse"Until version 1.88 \s-1CPAN\s0.pm never trusted the contents of the build_dirdirectory between sessions. Since 1.88_58 \s-1CPAN\s0.pm has a YAML-basedmechanism that makes it possible to share the contents of thebuild_dir/ directory between different sessions with the same versionof perl. People who prefer to test things several days beforeinstalling will like this feature because it safes a lot of time..SpIf you say yes to the following question, \s-1CPAN\s0 will try to storeenough information about the build process so that it can pick up infuture sessions at the same state of affairs as it left a previoussession..SpStore and re-use state information about distributions between\&\s-1CPAN\s0.pm sessions?.IP "build_requires_install_policy" 2.IX Item "build_requires_install_policy"When a module declares another one as a 'build_requires' prerequisitethis means that the other module is only needed for building ortesting the module but need not be installed permanently. In this caseyou may wish to install that other module nonetheless or just keep itin the 'build_dir' directory to have it available only temporarily.Installing saves time on future installations but makes the perlinstallation bigger..SpYou can choose if you want to always install (yes), never install (no)or be always asked. In the latter case you can set the default answerfor the question to yes (ask/yes) or no (ask/no)..SpPolicy on installing 'build_requires' modules (yes, no, ask/yes,ask/no)?.IP "cache_metadata" 2.IX Item "cache_metadata"To considerably speed up the initial \s-1CPAN\s0 shell startup, it ispossible to use Storable to create a cache of metadata. If Storable isnot available, the normal index mechanism will be used..SpNote: this mechanism is not used when use_sqlite is on and SQLLite isrunning..SpCache metadata (yes/no)?.IP "check_sigs" 2.IX Item "check_sigs"\&\s-1CPAN\s0 packages can be digitally signed by authors and thus verifiedwith the security provided by strong cryptography. The exact mechanismis defined in the Module::Signature module. While this is generallyconsidered a good thing, it is not always convenient to the end userto install modules that are signed incorrectly or where the key of theauthor is not available or where some prerequisite forModule::Signature has a bug and so on..SpWith the check_sigs parameter you can turn signature checking on andoff. The default is off for now because the whole tool chain for thefunctionality is not yet considered mature by some. The author of\&\s-1CPAN\s0.pm would recommend setting it to true most of the time andturning it off only if it turns out to be annoying..SpNote that if you do not have Module::Signature installed, no signaturechecks will be performed at all..SpAlways try to check and verify signatures if a \s-1SIGNATURE\s0 file is inthe package and Module::Signature is installed (yes/no)?.IP "colorize_output" 2.IX Item "colorize_output"When you have Term::ANSIColor installed, you can turn on colorizedoutput to have some visual differences between normal \s-1CPAN\s0.pm output,warnings, debugging output, and the output of the modules beinginstalled. Set your favorite colors after some experimenting with theTerm::ANSIColor module..SpDo you want to turn on colored output?.IP "colorize_print" 2.IX Item "colorize_print"Color for normal output?.IP "colorize_warn" 2.IX Item "colorize_warn"Color for warnings?.IP "colorize_debug" 2.IX Item "colorize_debug"Color for debugging messages?.IP "commandnumber_in_prompt" 2.IX Item "commandnumber_in_prompt"The prompt of the cpan shell can contain the current command numberfor easier tracking of the session or be a plain string..SpDo you want the command number in the prompt (yes/no)?.IP "ftp_passive" 2.IX Item "ftp_passive"Shall we always set the \s-1FTP_PASSIVE\s0 environment variable when dealingwith ftp download (yes/no)?.IP "getcwd" 2.IX Item "getcwd"\&\s-1CPAN\s0.pm changes the current working directory often and needs todetermine its own current working directory. Per default it usesCwd::cwd but if this doesn't work on your system for some reason,alternatives can be configured according to the following table:.Sp.Vb 4\& cwd Cwd::cwd\& getcwd Cwd::getcwd\& fastcwd Cwd::fastcwd\& backtickcwd external command cwd.Ve.SpPreferred method for determining the current working directory?.IP "histfile" 2.IX Item "histfile"If you have one of the readline packages (Term::ReadLine::Perl,Term::ReadLine::Gnu, possibly others) installed, the interactive \s-1CPAN\s0shell will have history support. The next two questions deal with thefilename of the history file and with its size. If you do not want toset this variable, please hit \s-1SPACE\s0 \s-1RETURN\s0 to the following question..SpFile to save your history?.IP "histsize" 2.IX Item "histsize"Number of lines to save?.IP "inactivity_timeout" 2.IX Item "inactivity_timeout"Sometimes you may wish to leave the processes run by \s-1CPAN\s0 alonewithout caring about them. Because the Makefile.PL or the Build.PLsometimes contains question you're expected to answer, you can set atimer that will kill a 'perl Makefile.PL' process after the specifiedtime in seconds.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -