⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.3

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 3
📖 第 1 页 / 共 5 页
字号:
.\" 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 "Config 3".TH Config 3 "2008-01-23" "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"Config \- access Perl configuration information.SH "SYNOPSIS".IX Header "SYNOPSIS".Vb 4\&    use Config;\&    if ($Config{usethreads}) {\&        print "has thread support\en"\&    } \&\&    use Config qw(myconfig config_sh config_vars config_re);\&\&    print myconfig();\&\&    print config_sh();\&\&    print config_re();\&\&    config_vars(qw(osname archname));.Ve.SH "DESCRIPTION".IX Header "DESCRIPTION"The Config module contains all the information that was available tothe \f(CW\*(C`Configure\*(C'\fR program at Perl build time (over 900 values)..PPShell variables from the \fIconfig.sh\fR file (written by Configure) arestored in the readonly-variable \f(CW%Config\fR, indexed by their names..PPValues stored in config.sh as 'undef' are returned as undefinedvalues.  The perl \f(CW\*(C`exists\*(C'\fR function can be used to check if anamed variable exists..IP "\fImyconfig()\fR" 4.IX Item "myconfig()"Returns a textual summary of the major perl configuration values.See also \f(CW\*(C`\-V\*(C'\fR in \*(L"Switches\*(R" in perlrun..IP "\fIconfig_sh()\fR" 4.IX Item "config_sh()"Returns the entire perl configuration information in the form of theoriginal config.sh shell variable assignment script..IP "config_re($regex)" 4.IX Item "config_re($regex)"Like \fIconfig_sh()\fR but returns, as a list, only the config entries who'snames match the \f(CW$regex\fR..IP "config_vars(@names)" 4.IX Item "config_vars(@names)"Prints to \s-1STDOUT\s0 the values of the named configuration variable. Each isprinted on a separate line in the form:.Sp.Vb 1\&  name=\*(Aqvalue\*(Aq;.Ve.SpNames which are unknown are output as \f(CW\*(C`name=\*(AqUNKNOWN\*(Aq;\*(C'\fR.See also \f(CW\*(C`\-V:name\*(C'\fR in \*(L"Switches\*(R" in perlrun..SH "EXAMPLE".IX Header "EXAMPLE"Here's a more sophisticated example of using \f(CW%Config:\fR.PP.Vb 2\&    use Config;\&    use strict;\&\&    my %sig_num;\&    my @sig_name;\&    unless($Config{sig_name} && $Config{sig_num}) {\&        die "No sigs?";\&    } else {\&        my @names = split \*(Aq \*(Aq, $Config{sig_name};\&        @sig_num{@names} = split \*(Aq \*(Aq, $Config{sig_num};\&        foreach (@names) {\&            $sig_name[$sig_num{$_}] ||= $_;\&        }   \&    }\&\&    print "signal #17 = $sig_name[17]\en";\&    if ($sig_num{ALRM}) { \&        print "SIGALRM is $sig_num{ALRM}\en";\&    }.Ve.SH "WARNING".IX Header "WARNING"Because this information is not stored within the perl executableitself it is possible (but unlikely) that the information does notrelate to the actual perl binary which is being used to access it..PPThe Config module is installed into the architecture and versionspecific library directory ($Config{installarchlib}) and it checks theperl version number when loaded..PPThe values stored in config.sh may be either single-quoted ordouble-quoted. Double-quoted strings are handy for those cases where youneed to include escape sequences in the strings. To avoid runtime variableinterpolation, any \f(CW\*(C`$\*(C'\fR and \f(CW\*(C`@\*(C'\fR characters are replaced by \f(CW\*(C`\e$\*(C'\fR and\&\f(CW\*(C`\e@\*(C'\fR, respectively. This isn't foolproof, of course, so don't embed \f(CW\*(C`\e$\*(C'\fRor \f(CW\*(C`\e@\*(C'\fR in double-quoted strings unless you're willing to deal with theconsequences. (The slashes will end up escaped and the \f(CW\*(C`$\*(C'\fR or \f(CW\*(C`@\*(C'\fR willtrigger variable interpolation).SH "GLOSSARY".IX Header "GLOSSARY"Most \f(CW\*(C`Config\*(C'\fR variables are determined by the \f(CW\*(C`Configure\*(C'\fR scripton platforms supported by it (which is most \s-1UNIX\s0 platforms).  Someplatforms have custom-made \f(CW\*(C`Config\*(C'\fR variables, and may thus not havesome of the variables described below, or may have extraneous variablesspecific to that particular port.  See the port specific documentationin such cases..Sh "_".IX Subsection "_".ie n .IP """_a""" 4.el .IP "\f(CW_a\fR" 4.IX Item "_a"From \fIUnix.U\fR:.SpThis variable defines the extension used for ordinary library files.For unix, it is \fI.a\fR.  The \fI.\fR is included.  Other possiblevalues include \fI.lib\fR..ie n .IP """_exe""" 4.el .IP "\f(CW_exe\fR" 4.IX Item "_exe"From \fIUnix.U\fR:.SpThis variable defines the extension used for executable files.\&\f(CW\*(C`DJGPP\*(C'\fR, Cygwin and \fI\s-1OS/2\s0\fR use \fI.exe\fR.  Stratus \f(CW\*(C`VOS\*(C'\fR uses \fI.pm\fR.On operating systems which do not require a specific extensionfor executable files, this variable is empty..ie n .IP """_o""" 4.el .IP "\f(CW_o\fR" 4.IX Item "_o"From \fIUnix.U\fR:.SpThis variable defines the extension used for object files.For unix, it is \fI.o\fR.  The \fI.\fR is included.  Other possiblevalues include \fI.obj\fR..Sh "a".IX Subsection "a".ie n .IP """afs""" 4.el .IP "\f(CWafs\fR" 4.IX Item "afs"From \fIafs.U\fR:.SpThis variable is set to \f(CW\*(C`true\*(C'\fR if \f(CW\*(C`AFS\*(C'\fR (Andrew File System) is usedon the system, \f(CW\*(C`false\*(C'\fR otherwise.  It is possible to override thiswith a hint value or command line option, but you'd better knowwhat you are doing..ie n .IP """afsroot""" 4.el .IP "\f(CWafsroot\fR" 4.IX Item "afsroot"From \fIafs.U\fR:.SpThis variable is by default set to \fI/afs\fR. In the unlikely casethis is not the correct root, it is possible to override this witha hint value or command line option.  This will be used in subsequenttests for AFSness in the Perl configure and test process..ie n .IP """alignbytes""" 4.el .IP "\f(CWalignbytes\fR" 4.IX Item "alignbytes"From \fIalignbytes.U\fR:.SpThis variable holds the number of bytes required to align adouble\*(-- or a long double when applicable. Usual values are2, 4 and 8.  The default is eight, for safety..ie n .IP """ansi2knr""" 4.el .IP "\f(CWansi2knr\fR" 4.IX Item "ansi2knr"From \fIansi2knr.U\fR:.SpThis variable is set if the user needs to run ansi2knr.Currently, this is not supported, so we just abort..ie n .IP """aphostname""" 4.el .IP "\f(CWaphostname\fR" 4.IX Item "aphostname"From \fId_gethname.U\fR:.SpThis variable contains the command which can be used to compute thehost name. The command is fully qualified by its absolute path, to makeit safe when used by a process with super-user privileges..ie n .IP """api_revision""" 4.el .IP "\f(CWapi_revision\fR" 4.IX Item "api_revision"From \fIpatchlevel.U\fR:.SpThe three variables, api_revision, api_version, andapi_subversion, specify the version of the oldest perl binarycompatible with the present perl.  In a full version stringsuch as \fI5.6.1\fR, api_revision is the \f(CW5\fR.Prior to 5.5.640, the format was a floating point number,like 5.00563..Sp\&\fIperl.c\fR:\fIincpush()\fR and \fIlib/lib.pm\fR will automatically search in\&\fI\f(CI$sitelib\fI/.\fR. for older directories back to the limit specifiedby these api_ variables.  This is only useful if you have aperl library directory tree structured like the default one.See \f(CW\*(C`INSTALL\*(C'\fR for how this works.  The versioned site_perldirectory was introduced in 5.005, so that is the lowestpossible value.  The version list appropriate for the currentsystem is determined in \fIinc_version_list.U\fR..Sp\&\f(CW\*(C`XXX\*(C'\fR To do:  Since compatibility can depend on compile timeoptions (such as bincompat, longlong, etc.) it should(perhaps) be set by Configure, but currently it isn't.Currently, we read a hard-wired value from \fIpatchlevel.h\fR.Perhaps what we ought to do is take the hard-wired value from\&\fIpatchlevel.h\fR but then modify it if the current Configureoptions warrant.  \fIpatchlevel.h\fR then would use an #ifdef guard..ie n .IP """api_subversion""" 4.el .IP "\f(CWapi_subversion\fR" 4.IX Item "api_subversion"From \fIpatchlevel.U\fR:.SpThe three variables, api_revision, api_version, andapi_subversion, specify the version of the oldest perl binarycompatible with the present perl.  In a full version stringsuch as \fI5.6.1\fR, api_subversion is the \f(CW1\fR.  See api_revision forfull details..ie n .IP """api_version""" 4.el .IP "\f(CWapi_version\fR" 4.IX Item "api_version"From \fIpatchlevel.U\fR:.SpThe three variables, api_revision, api_version, andapi_subversion, specify the version of the oldest perl binarycompatible with the present perl.  In a full version string

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -