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

📄 perl594delta.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 2 页
字号:
\&\f(CW\*(C`encoding::warnings\*(C'\fR is now a lexical pragma. (Although on older perls,which don't have support for lexical pragmas, it keeps its globalbehaviour.) (Audrey Tang).IP "\(bu" 4\&\f(CW\*(C`threads\*(C'\fR is now a dual-life module, also available on \s-1CPAN\s0. It has beenexpanded in many ways. A \fIkill()\fR method is available for thread signalling.One can get thread status, or the list of running or joinable threads..SpA new \f(CW\*(C`threads\->exit()\*(C'\fR method is used to exit from the application(this is the default for the main thread) or from the current thread only(this is the default for all other threads). On the other hand, the \fIexit()\fRbuilt-in now always causes the whole application to terminate. (JerryD. Hedden).Sh "New Core Modules".IX Subsection "New Core Modules".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..SH "Utility Changes".IX Header "Utility Changes".Sh "config_data".IX Subsection "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.).SH "Documentation".IX Header "Documentation".Sh "New manpage, perlpragma".IX Subsection "New manpage, perlpragma"The perlpragma manpage documents how to write one's own lexicalpragmas in pure Perl (something that is possible starting with 5.9.4)..Sh "New manpage, perlreguts".IX Subsection "New manpage, perlreguts"The perlreguts manpage, courtesy of Yves Orton, describes internals of thePerl regular expression engine..Sh "New manpage, perlunitut".IX Subsection "New manpage, perlunitut"The perlunitut manpage is an tutorial for programming with Unicode andstring encodings in Perl, courtesy of Juerd Waalboer..SH "Performance Enhancements".IX Header "Performance Enhancements".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 "Regular expressions".IX Subsection "Regular expressions".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 characterhad been used as a literal, meaning that code that uses char-classes as anescaping mechanism will see a speedup. (Yves Orton).IP "Trie optimisation of literal string alternations" 4.IX Item "Trie optimisation of literal string alternations"Alternations, where possible, are optimised into more efficient matchingstructures. String literal alternations are merged into a trie and arematched simultaneously.  This means that instead of O(N) time for matchingN alternations at a given point the new code performs in O(1) time. (YvesOrton).Sp\&\fBNote:\fR Much code exists that works around perl's historic poorperformance on alternations. Often the tricks used to do so will disablethe new optimisations. Hopefully the utility modules used for this purposewill be educated about these new optimisations by the time 5.10 isreleased..IP "Aho-Corasick start-point optimisation" 4.IX Item "Aho-Corasick start-point optimisation"When a pattern starts with a trie-able alternation and there aren'tbetter optimisations available the regex engine will use Aho-Corasickmatching to find the start point. (Yves Orton).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 "Installation and Configuration Improvements".IX Header "Installation and Configuration Improvements".Sh "Relocatable installations".IX Subsection "Relocatable installations"There is now Configure support for creating a relocatable perl tree. Ifyou Configure with \f(CW\*(C`\-Duserelocatableinc\*(C'\fR, then the paths in \f(CW@INC\fR (andeverything else in \f(CW%Config\fR) can be optionally located via the path of theperl executable..PPThat means that, if the string \f(CW".../"\fR is found at the start of anypath, it's substituted with the directory of $^X. So, the relocation canbe configured on a per-directory basis, although the default with\&\f(CW\*(C`\-Duserelocatableinc\*(C'\fR is that everything is relocated. The initialinstall is done to the original configured prefix..Sh "Ports".IX Subsection "Ports"Many improvements have been made towards making Perl work correctly onz/OS..PPPerl has been reported to work on DragonFlyBSD..Sh "Compilation improvements".IX Subsection "Compilation improvements"All \fIppport.h\fR files in the \s-1XS\s0 modules bundled with perl are nowautogenerated at build time. (Marcus Holland-Moritz).Sh "New probes".IX Subsection "New probes"The configuration process now detects whether \fIstrlcat()\fR and \fIstrlcpy()\fR areavailable.  When they are not available, perl's own version is used (fromRuss Allbery's public domain implementation).  Various places in the perlinterpreter now use them. (Steve Peters).Sh "Windows build improvements".IX Subsection "Windows build improvements".IP "Building \s-1XS\s0 extensions" 4.IX Item "Building XS extensions"Support for building \s-1XS\s0 extension modules with the free MinGW compiler hasbeen improved in the case where perl itself was built with the Microsoft\&\s-1VC++\s0 compiler. (ActiveState).IP "Support for 64\-bit compiler" 4.IX Item "Support for 64-bit compiler"Support for building perl with Microsoft's 64\-bit compiler has beenimproved. (ActiveState).SH "Selected Bug Fixes".IX Header "Selected Bug Fixes".Sh "\s-1PERL5SHELL\s0 and tainting".IX Subsection "PERL5SHELL and tainting"On Windows, the \s-1PERL5SHELL\s0 environment variable is now checked fortaintedness. (Rafael Garcia-Suarez).Sh "Using *FILE{\s-1IO\s0}".IX Subsection "Using *FILE{IO}"\&\f(CW\*(C`stat()\*(C'\fR and \f(CW\*(C`\-X\*(C'\fR filetests now treat *FILE{\s-1IO\s0} filehandles like *FILEfilehandles. (Steve Peters).Sh "Overloading and reblessing".IX Subsection "Overloading and reblessing"Overloading now works when references are reblessed into another class.Internally, this has been implemented by moving the flag for \*(L"overloading\*(R"from the reference to the referent, which logically is where it shouldalways have been. (Nicholas Clark).Sh "Overloading and \s-1UTF\-8\s0".IX Subsection "Overloading and UTF-8"A few bugs related to \s-1UTF\-8\s0 handling with objects that havestringification overloaded have been fixed. (Nicholas Clark).Sh "eval memory leaks fixed".IX Subsection "eval memory leaks fixed"Traditionally, \f(CW\*(C`eval \*(Aqsyntax error\*(Aq\*(C'\fR has leaked badly. Many (but not all)of these leaks have now been eliminated or reduced. (Dave Mitchell).Sh "Random device on Windows".IX Subsection "Random device on Windows"In previous versions, perl would read the file \fI/dev/urandom\fR if itexisted when seeding its random number generator.  That file is unlikelyto exist on Windows, and if it did would probably not contain appropriatedata, so perl no longer tries to read it on Windows. (Alex Davies).SH "New or Changed Diagnostics".IX Header "New or Changed Diagnostics".ie n .IP "State variable %s will be reinitialized" 4.el .IP "State variable \f(CW%s\fR will be reinitialized" 4.IX Item "State variable %s will be reinitialized"One can assign initial values to state variables, but not when they'redeclared as a sub-part of a list assignment. See perldiag..SH "Changed Internals".IX Header "Changed Internals"A new file, \fImathoms.c\fR, contains functions that aren't used anymore inthe perl core, but remain around because modules out there mightstill use them. They come from a factorization effort: for example, many\&\s-1PP\s0 functions are now shared for several ops..PPThe implementation of the special variables $^H and %^H has changed, toallow implementing lexical pragmas in pure perl..SH "Known Problems".IX Header "Known Problems"One warning test (number 263 in \fIlib/warnings.t\fR) fails under \s-1UTF\-8\s0locales..PPBytecode tests fail under several platforms. We are considering removingsupport for byteloader and compiler before the 5.10.0 release..SH "Reporting Bugs".IX Header "Reporting Bugs"If you find what you think is a bug, you might check the articlesrecently posted to the comp.lang.perl.misc newsgroup and the perlbug database at http://rt.perl.org/rt3/ .  There may also beinformation at http://www.perl.org/ , the Perl Home Page..PPIf you believe you have an unreported bug, please run the \fBperlbug\fRprogram included with your release.  Be sure to trim your bug downto a tiny but sufficient test case.  Your bug report, along with theoutput of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to perlbug@perl.org to beanalysed by the Perl porting team..SH "SEE ALSO".IX Header "SEE ALSO"The \fIChanges\fR file for exhaustive details on what changed..PPThe \fI\s-1INSTALL\s0\fR file for how to build Perl..PPThe \fI\s-1README\s0\fR file for general stuff..PPThe \fIArtistic\fR and \fICopying\fR files for copyright information.

⌨️ 快捷键说明

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