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

📄 perl5100delta.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 5 页
字号:
prerequisite to install it. It's used by \f(CW\*(C`Archive::Tar\*(C'\fR (see below)..IP "\(bu" 4\&\f(CW\*(C`IO::Zlib\*(C'\fR is an \f(CW\*(C`IO::\*(C'\fR\-style interface to \f(CW\*(C`Compress::Zlib\*(C'\fR..IP "\(bu" 4\&\f(CW\*(C`Archive::Tar\*(C'\fR is a module to manipulate \f(CW\*(C`tar\*(C'\fR archives..IP "\(bu" 4\&\f(CW\*(C`Digest::SHA\*(C'\fR is a module used to calculate many types of \s-1SHA\s0 digests,has been included for \s-1SHA\s0 support in the \s-1CPAN\s0 module..IP "\(bu" 4\&\f(CW\*(C`ExtUtils::CBuilder\*(C'\fR and \f(CW\*(C`ExtUtils::ParseXS\*(C'\fR have been added..IP "\(bu" 4\&\f(CW\*(C`Hash::Util::FieldHash\*(C'\fR, by Anno Siegel, has been added. This moduleprovides support for \fIfield hashes\fR: hashes that maintain an associationof a reference with a value, in a thread-safe garbage-collected way.Such hashes are useful to implement inside-out objects..IP "\(bu" 4\&\f(CW\*(C`Module::Build\*(C'\fR, by Ken Williams, has been added. It's an alternative to\&\f(CW\*(C`ExtUtils::MakeMaker\*(C'\fR to build and install perl modules..IP "\(bu" 4\&\f(CW\*(C`Module::Load\*(C'\fR, by Jos Boumans, has been added. It provides a singleinterface to load Perl modules and \fI.pl\fR files..IP "\(bu" 4\&\f(CW\*(C`Module::Loaded\*(C'\fR, by Jos Boumans, has been added. It's used to markmodules as loaded or unloaded..IP "\(bu" 4\&\f(CW\*(C`Package::Constants\*(C'\fR, by Jos Boumans, has been added. It's a simplehelper to list all constants declared in a given package..IP "\(bu" 4\&\f(CW\*(C`Win32API::File\*(C'\fR, by Tye McQueen, has been added (for Windows builds).This module provides low-level access to Win32 system \s-1API\s0 calls forfiles/dirs..IP "\(bu" 4\&\f(CW\*(C`Locale::Maketext::Simple\*(C'\fR, needed by \s-1CPANPLUS\s0, is a simple wrapper around\&\f(CW\*(C`Locale::Maketext::Lexicon\*(C'\fR. Note that \f(CW\*(C`Locale::Maketext::Lexicon\*(C'\fR isn'tincluded in the perl core; the behaviour of \f(CW\*(C`Locale::Maketext::Simple\*(C'\fRgracefully degrades when the later isn't present..IP "\(bu" 4\&\f(CW\*(C`Params::Check\*(C'\fR implements a generic input parsing/checking mechanism. Itis used by \s-1CPANPLUS\s0..IP "\(bu" 4\&\f(CW\*(C`Term::UI\*(C'\fR simplifies the task to ask questions at a terminal prompt..IP "\(bu" 4\&\f(CW\*(C`Object::Accessor\*(C'\fR provides an interface to create per-object accessors..IP "\(bu" 4\&\f(CW\*(C`Module::Pluggable\*(C'\fR is a simple framework to create modules that acceptpluggable sub-modules..IP "\(bu" 4\&\f(CW\*(C`Module::Load::Conditional\*(C'\fR provides simple ways to query and possiblyload installed modules..IP "\(bu" 4\&\f(CW\*(C`Time::Piece\*(C'\fR provides an object oriented interface to time functions,overriding the built-ins \fIlocaltime()\fR and \fIgmtime()\fR..IP "\(bu" 4\&\f(CW\*(C`IPC::Cmd\*(C'\fR helps to find and run external commands, possiblyinteractively..IP "\(bu" 4\&\f(CW\*(C`File::Fetch\*(C'\fR provide a simple generic file fetching mechanism..IP "\(bu" 4\&\f(CW\*(C`Log::Message\*(C'\fR and \f(CW\*(C`Log::Message::Simple\*(C'\fR are used by the log facilityof \f(CW\*(C`CPANPLUS\*(C'\fR..IP "\(bu" 4\&\f(CW\*(C`Archive::Extract\*(C'\fR is a generic archive extraction mechanismfor \fI.tar\fR (plain, gziped or bzipped) or \fI.zip\fR files..IP "\(bu" 4\&\f(CW\*(C`CPANPLUS\*(C'\fR provides an \s-1API\s0 and a command-line tool to access the \s-1CPAN\s0mirrors..IP "\(bu" 4\&\f(CW\*(C`Pod::Escapes\*(C'\fR provides utilities that are useful in decoding PodE<...> sequences..IP "\(bu" 4\&\f(CW\*(C`Pod::Simple\*(C'\fR is now the backend for several of the Pod-related modulesincluded with Perl..Sh "Selected Changes to Core Modules".IX Subsection "Selected Changes to Core Modules".ie n .IP """Attribute::Handlers""" 4.el .IP "\f(CWAttribute::Handlers\fR" 4.IX Item "Attribute::Handlers"\&\f(CW\*(C`Attribute::Handlers\*(C'\fR can now report the caller's file and line number.(David Feldman).SpAll interpreted attributes are now passed as array references. (DamianConway).ie n .IP """B::Lint""" 4.el .IP "\f(CWB::Lint\fR" 4.IX Item "B::Lint"\&\f(CW\*(C`B::Lint\*(C'\fR is now based on \f(CW\*(C`Module::Pluggable\*(C'\fR, and so can be extendedwith plugins. (Joshua ben Jore).ie n .IP """B""" 4.el .IP "\f(CWB\fR" 4.IX Item "B"It's now possible to access the lexical pragma hints (\f(CW\*(C`%^H\*(C'\fR) by using themethod \fIB::COP::hints_hash()\fR. It returns a \f(CW\*(C`B::RHE\*(C'\fR object, which in turncan be used to get a hash reference via the method \fIB::RHE::HASH()\fR. (Joshuaben Jore).ie n .IP """Thread""" 4.el .IP "\f(CWThread\fR" 4.IX Item "Thread"As the old 5005thread threading model has been removed, in favor of theithreads scheme, the \f(CW\*(C`Thread\*(C'\fR module is now a compatibility wrapper, tobe used in old code only. It has been removed from the default list ofdynamic extensions..SH "Utility Changes".IX Header "Utility Changes".IP "perl \-d" 4.IX Item "perl -d"The Perl debugger can now save all debugger commands for sourcing later;notably, it can now emulate stepping backwards, by restarting andrerunning all bar the last command from a saved command history..SpIt can also display the parent inheritance tree of a given class, with the\&\f(CW\*(C`i\*(C'\fR command..IP "ptar" 4.IX Item "ptar"\&\f(CW\*(C`ptar\*(C'\fR is a pure perl implementation of \f(CW\*(C`tar\*(C'\fR that comes with\&\f(CW\*(C`Archive::Tar\*(C'\fR..IP "ptardiff" 4.IX Item "ptardiff"\&\f(CW\*(C`ptardiff\*(C'\fR is a small utility used to generate a diff between the contentsof a tar archive and a directory tree. Like \f(CW\*(C`ptar\*(C'\fR, it comes with\&\f(CW\*(C`Archive::Tar\*(C'\fR..IP "shasum" 4.IX Item "shasum"\&\f(CW\*(C`shasum\*(C'\fR is a command-line utility, used to print or to check \s-1SHA\s0digests. It comes with the new \f(CW\*(C`Digest::SHA\*(C'\fR module..IP "corelist" 4.IX Item "corelist"The \f(CW\*(C`corelist\*(C'\fR utility is now installed with perl (see \*(L"New modules\*(R"above)..IP "h2ph and h2xs" 4.IX Item "h2ph and h2xs"\&\f(CW\*(C`h2ph\*(C'\fR and \f(CW\*(C`h2xs\*(C'\fR have been made more robust with regard to\&\*(L"modern\*(R" C code..Sp\&\f(CW\*(C`h2xs\*(C'\fR implements a new option \f(CW\*(C`\-\-use\-xsloader\*(C'\fR to force use of\&\f(CW\*(C`XSLoader\*(C'\fR even in backwards compatible modules..SpThe handling of authors' names that had apostrophes has been fixed..SpAny enums with negative values are now skipped..IP "perlivp" 4.IX Item "perlivp"\&\f(CW\*(C`perlivp\*(C'\fR no longer checks for \fI*.ph\fR files by default.  Use the new \f(CW\*(C`\-a\*(C'\fRoption to run \fIall\fR tests..IP "find2perl" 4.IX Item "find2perl"\&\f(CW\*(C`find2perl\*(C'\fR now assumes \f(CW\*(C`\-print\*(C'\fR as a default action. Previously, itneeded to be specified explicitly..SpSeveral bugs have been fixed in \f(CW\*(C`find2perl\*(C'\fR, regarding \f(CW\*(C`\-exec\*(C'\fR and\&\f(CW\*(C`\-eval\*(C'\fR. Also the options \f(CW\*(C`\-path\*(C'\fR, \f(CW\*(C`\-ipath\*(C'\fR and \f(CW\*(C`\-iname\*(C'\fR have beenadded..IP "config_data" 4.IX Item "config_data"\&\f(CW\*(C`config_data\*(C'\fR is a new utility that comes with \f(CW\*(C`Module::Build\*(C'\fR. Itprovides a command-line interface to the configuration of Perl modulesthat use Module::Build's framework of configurability (that is,\&\f(CW*::ConfigData\fR modules that contain local configuration information fortheir parent modules.).IP "cpanp" 4.IX Item "cpanp"\&\f(CW\*(C`cpanp\*(C'\fR, the \s-1CPANPLUS\s0 shell, has been added. (\f(CW\*(C`cpanp\-run\-perl\*(C'\fR, ahelper for \s-1CPANPLUS\s0 operation, has been added too, but isn't intended fordirect use)..IP "cpan2dist" 4.IX Item "cpan2dist"\&\f(CW\*(C`cpan2dist\*(C'\fR is a new utility that comes with \s-1CPANPLUS\s0. It's a tool tocreate distributions (or packages) from \s-1CPAN\s0 modules..IP "pod2html" 4.IX Item "pod2html"The output of \f(CW\*(C`pod2html\*(C'\fR has been enhanced to be more customizable via\&\s-1CSS\s0. Some formatting problems were also corrected. (Jari Aalto).SH "New Documentation".IX Header "New Documentation"The perlpragma manpage documents how to write one's own lexicalpragmas in pure Perl (something that is possible starting with 5.9.4)..PPThe new perlglossary manpage is a glossary of terms used in the Perldocumentation, technical and otherwise, kindly provided by O'Reilly Media,Inc..PPThe perlreguts manpage, courtesy of Yves Orton, describes internals of thePerl regular expression engine..PPThe perlreapi manpage describes the interface to the perl interpreterused to write pluggable regular expression engines (by \*(AEvar Arnfjo\*:r\*(d\-Bjarmason)..PPThe perlunitut manpage is an tutorial for programming with Unicode andstring encodings in Perl, courtesy of Juerd Waalboer..PPA new manual page, perlunifaq (the Perl Unicode \s-1FAQ\s0), has been added(Juerd Waalboer)..PPThe perlcommunity manpage gives a description of the Perl communityon the Internet and in real life. (Edgar \*(L"Trizor\*(R" Bering).PPThe \s-1CORE\s0 manual page documents the \f(CW\*(C`CORE::\*(C'\fR namespace. (Tels).PPThe long-existing feature of \f(CW\*(C`/(?{...})/\*(C'\fR regexps setting \f(CW$_\fR and \fIpos()\fRis now documented..SH "Performance Enhancements".IX Header "Performance Enhancements".Sh "In-place sorting".IX Subsection "In-place sorting"Sorting arrays in place (\f(CW\*(C`@a = sort @a\*(C'\fR) is now optimized to avoidmaking a temporary copy of the array..PPLikewise, \f(CW\*(C`reverse sort ...\*(C'\fR is now optimized to sort in reverse,avoiding the generation of a temporary intermediate list..Sh "Lexical array access".IX Subsection "Lexical array access"Access to elements of lexical arrays via a numeric constant between 0 and255 is now faster. (This used to be only the case for global arrays.).Sh "XS-assisted \s-1SWASHGET\s0".IX Subsection "XS-assisted SWASHGET"Some pure-perl code that perl was using to retrieve Unicode properties andtransliteration mappings has been reimplemented in \s-1XS\s0..Sh "Constant subroutines".IX Subsection "Constant subroutines"The interpreter internals now support a far more memory efficient form ofinlineable constants. Storing a reference to a constant value in a symboltable is equivalent to a full typeglob referencing a constant subroutine,but using about 400 bytes less memory. This proxy constant subroutine isautomatically upgraded to a real typeglob with subroutine if necessary.The approach taken is analogous to the existing space optimisation forsubroutine stub declarations, which are stored as plain scalars in placeof the full typeglob..PPSeveral of the core modules have been converted to use this feature fortheir system dependent constants \- as a result \f(CW\*(C`use POSIX;\*(C'\fR now takes about200K less memory..ie n .Sh """PERL_DONT_CREATE_GVSV""".el .Sh "\f(CWPERL_DONT_CREATE_GVSV\fP".IX Subsection "PERL_DONT_CREATE_GVSV"The new compilation flag \f(CW\*(C`PERL_DONT_CREATE_GVSV\*(C'\fR, introduced as an optionin perl 5.8.8, is turned on by default in perl 5.9.3. It prevents perlfrom creating an empty scalar with every new typeglob. See perl588deltafor details..Sh "Weak references are cheaper".IX Subsection "Weak references are cheaper"Weak reference creation is now \fIO(1)\fR rather than \fIO(n)\fR, courtesy ofNicholas Clark. Weak reference deletion remains \fIO(n)\fR, but if deletion onlyhappens at program exit, it may be skipped completely..Sh "\fIsort()\fP enhancements".IX Subsection "sort() enhancements"Salvador Fandin\*~o provided improvements to reduce the memory usage of \f(CW\*(C`sort\*(C'\fRand to speed up some cases..Sh "Memory optimisations".IX Subsection "Memory optimisations"Several internal data structures (typeglobs, GVs, CVs, formats) have beenrestructured to use less memory. (Nicholas Clark).Sh "\s-1UTF\-8\s0 cache optimisation".IX Subsection "UTF-8 cache optimisation"The \s-1UTF\-8\s0 caching code is now more efficient, and used more often.(Nicholas Clark).Sh "Sloppy stat on Windows".IX Subsection "Sloppy stat on Windows"On Windows, perl's \fIstat()\fR function normally opens the file to determinethe link count and update attributes that may have been changed throughhard links. Setting ${^WIN32_SLOPPY_STAT} to a true value speeds up\&\fIstat()\fR by not performing this operation. (Jan Dubois).Sh "Regular expressions optimisations".IX Subsection "Regular expressions optimisations".IP "Engine de-recursivised" 4.IX Item "Engine de-recursivised"The regular expression engine is no longer recursive, meaning thatpatterns that used to overflow the stack will either die with usefulexplanations, or run to completion, which, since they were able to blowthe stack before, will likely take a very long time to happen. If you wereexperiencing the occasional stack overflow (or segfault) and upgrade todiscover that now perl apparently hangs instead, look for a degenerateregex. (Dave Mitchell).IP "Single char char-classes treated as literals" 4.IX Item "Single char char-classes treated as literals"Classes of a single character are now treated the same as if the character

⌨️ 快捷键说明

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