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

📄 perl591delta.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 2 页
字号:
.IX Item "Carp"The error messages produced by \f(CW\*(C`Carp\*(C'\fR now include spaces between thearguments in function argument lists: this makes long error messagesappear more nicely in browsers and other tools..IP "Exporter" 4.IX Item "Exporter"\&\f(CW\*(C`Exporter\*(C'\fR will now recognize grouping tags (such as \f(CW\*(C`:name\*(C'\fR) anywherein the import list, not only at the beginning..IP "FindBin" 4.IX Item "FindBin"A function \f(CW\*(C`again\*(C'\fR is provided to resolve problems where modules in differentdirectories wish to use FindBin..IP "List::Util" 4.IX Item "List::Util"You can now weaken references to read only values..IP "threads::shared" 4.IX Item "threads::shared"\&\f(CW\*(C`cond_wait\*(C'\fR has a new two argument form. \f(CW\*(C`cond_timedwait\*(C'\fR has been added..SH "Utility Changes".IX Header "Utility Changes"\&\f(CW\*(C`find2perl\*(C'\fR now assumes \f(CW\*(C`\-print\*(C'\fR as a default action. Previously, itneeded to be specified explicitly..PPA new utility, \f(CW\*(C`prove\*(C'\fR, makes it easy to run an individual regression testat the command line. \f(CW\*(C`prove\*(C'\fR is part of Test::Harness, which users of earlierPerl versions can install from \s-1CPAN\s0..PPThe perl debugger now supports a \f(CW\*(C`save\*(C'\fR command, to save the currenthistory to a file, and an \f(CW\*(C`i\*(C'\fR command, which prints the inheritance treeof its argument (if the \f(CW\*(C`Class::ISA\*(C'\fR module is installed.).SH "Documentation".IX Header "Documentation"The documentation has been revised in places to produce more standard manpages..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"Sorting arrays in place (\f(CW\*(C`@a = sort @a\*(C'\fR) is now optimized to avoidmaking a temporary copy of the array..PPThe operations involving case mapping on \s-1UTF\-8\s0 strings (\fIuc()\fR, \fIlc()\fR,\&\f(CW\*(C`//i\*(C'\fR, etc.) have been greatly speeded up..PPAccess 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 "Selected Bug Fixes".IX Header "Selected Bug Fixes".Sh "\s-1UTF\-8\s0 bugs".IX Subsection "UTF-8 bugs"Using \fIsubstr()\fR on a \s-1UTF\-8\s0 string could cause subsequent accesses on thatstring to return garbage. This was due to incorrect \s-1UTF\-8\s0 offsets beingcached, and is now fixed..PP\&\fIjoin()\fR could return garbage when the same \fIjoin()\fR statement was used toprocess 8 bit data having earlier processed \s-1UTF\-8\s0 data, due to the flagson that statement's temporary workspace not being reset correctly. Thisis now fixed..PPUsing Unicode keys with tied hashes should now work correctly..PP\&\fIchop()\fR and \fIchomp()\fR used to mangle \s-1UTF\-8\s0 strings.  This has been fixed..PP\&\fIsprintf()\fR used to misbehave when the format string was in \s-1UTF\-8\s0. This isnow fixed..Sh "Threading bugs".IX Subsection "Threading bugs"Hashes with the \f(CW\*(C`:unique\*(C'\fR attribute weren't made read-only in newthreads. They are now..Sh "More bugs".IX Subsection "More bugs"\&\f(CW\*(C`$a .. $b\*(C'\fR will now work as expected when either \f(CW$a\fR or \f(CW$b\fR is \f(CW\*(C`undef\*(C'\fR..PPReading $^E now preserves $!. Previously, the C code implementing $^Edid not preserve \f(CW\*(C`errno\*(C'\fR, so reading $^E could cause \f(CW\*(C`errno\*(C'\fR and therefore\&\f(CW$!\fR to change unexpectedly..PP\&\f(CW\*(C`strict\*(C'\fR wasn't in effect in regexp-eval blocks (\f(CW\*(C`/(?{...})/\*(C'\fR)..SH "New or Changed Diagnostics".IX Header "New or Changed Diagnostics"A new deprecation warning, \fIDeprecated use of \fImy()\fI in false conditional\fR,has been added, to warn against the use of the dubious and deprecatedconstruct.PP.Vb 1\&    my $x if 0;.Ve.PPSee perldiag..PPThe fatal error \fI\s-1DESTROY\s0 created new reference to dead object\fR is nowdocumented in perldiag..PPA new error, \fI\f(CI%ENV\fI is aliased to \f(CI%s\fI\fR, is produced when taint checks areenabled and when \f(CW*ENV\fR has been aliased (and thus doesn't reflect theprogram's environment anymore.).SH "Changed Internals".IX Header "Changed Internals"These news matter to you only if you either write \s-1XS\s0 code or like toknow about or hack Perl internals (using Devel::Peek or any of the\&\f(CW\*(C`B::\*(C'\fR modules counts), or like to run Perl with the \f(CW\*(C`\-D\*(C'\fR option..Sh "Reordering of SVt_* constants".IX Subsection "Reordering of SVt_* constants"The relative ordering of constants that define the various types of \f(CW\*(C`SV\*(C'\fRhave changed; in particular, \f(CW\*(C`SVt_PVGV\*(C'\fR has been moved before \f(CW\*(C`SVt_PVLV\*(C'\fR,\&\f(CW\*(C`SVt_PVAV\*(C'\fR, \f(CW\*(C`SVt_PVHV\*(C'\fR and \f(CW\*(C`SVt_PVCV\*(C'\fR.  This is unlikely to make anydifference unless you have code that explicitly makes assumptions about thatordering. (The inheritance hierarchy of \f(CW\*(C`B::*\*(C'\fR objects has been changedto reflect this.).Sh "Removal of \s-1CPP\s0 symbols".IX Subsection "Removal of CPP symbols"The C preprocessor symbols \f(CW\*(C`PERL_PM_APIVERSION\*(C'\fR and\&\f(CW\*(C`PERL_XS_APIVERSION\*(C'\fR, which were supposed to give the version number ofthe oldest perl binary-compatible (resp. source-compatible) with thepresent one, were not used, and sometimes had misleading values. They havebeen removed..Sh "Less space is used by ops".IX Subsection "Less space is used by ops"The \f(CW\*(C`BASEOP\*(C'\fR structure now uses less space. The \f(CW\*(C`op_seq\*(C'\fR field has beenremoved and replaced by two one-bit fields, \f(CW\*(C`op_opt\*(C'\fR and \f(CW\*(C`op_static\*(C'\fR.\&\f(CW\*(C`opt_type\*(C'\fR is now 9 bits long. (Consequently, the \f(CW\*(C`B::OP\*(C'\fR class doesn'tprovide an \f(CW\*(C`seq\*(C'\fR method anymore.).Sh "New parser".IX Subsection "New parser"perl's parser is now generated by bison (it used to be generated bybyacc.) As a result, it seems to be a bit more robust..SH "Configuration and Building".IX Header "Configuration and Building"\&\f(CW\*(C`Configure\*(C'\fR now invokes callbacks regardless of the value of the variablethey are called for. Previously callbacks were only invoked in the\&\f(CW\*(C`case $variable $define)\*(C'\fR branch. This change should only affect platformmaintainers writing configuration hints files..PPThe portability and cleanliness of the Win32 makefiles has been improved..SH "Known Problems".IX Header "Known Problems"There are still a couple of problems in the implementation of the lexical\&\f(CW$_\fR: it doesn't work inside \f(CW\*(C`/(?{...})/\*(C'\fR blocks and with regard to the\&\fIreverse()\fR built-in used without arguments. (See the \s-1TODO\s0 tests in\&\fIt/op/mydef.t\fR.).Sh "Platform Specific Problems".IX Subsection "Platform Specific Problems"The test \fIext/IPC/SysV/t/ipcsysv.t\fR may fail on OpenBSD. This hasn't beendiagnosed yet..PPOn some configurations on \s-1AIX\s0 5, one test in \fIlib/Time/Local.t\fR fails.When configured with long doubles, perl may fail tests 224\-236 in\&\fIt/op/pow.t\fR on the same platform..PPFor threaded builds, \fIext/threads/shared/t/wait.t\fR has been reported tofail some tests on HP-UX 10.20..SH "To-do for perl 5.10.0".IX Header "To-do for perl 5.10.0"This is a non-exhaustive, non-ordered, non-contractual and non-definitivelist of things to do (or nice to have) for perl 5.10.0 :.PPClean up and finish support for assertions. See assertions..PPReimplement the mechanism of lexical pragmas to be more extensible. Fixcurrent pragmas that don't work well (or at all) with lexical scopes or inrun-time eval(\s-1STRING\s0) (\f(CW\*(C`sort\*(C'\fR, \f(CW\*(C`re\*(C'\fR, \f(CW\*(C`encoding\*(C'\fR for example). \s-1MJD\s0 has apreliminary patch that implements this..PPFix (or rewrite) the implementation of the \f(CW\*(C`/(?{...})/\*(C'\fR closures..PPConversions from byte strings to \s-1UTF\-8\s0 currently map high bit charactersto Unicode without translation (or, depending on how you look at it, byimplicitly assuming that the byte strings are in Latin\-1). As perl assumesthe C locale by default, upgrading a string to \s-1UTF\-8\s0 may change themeaning of its contents regarding character classes, case mapping, etc.This should probably emit a warning (at least)..PPIntroduce a new special block, \s-1UNITCHECK\s0, which is run at the end of acompilation unit (module, file, eval(\s-1STRING\s0) block). This will correspond tothe Perl 6 \s-1CHECK\s0. Perl 5's \s-1CHECK\s0 cannot be changed or removed because theO.pm/B.pm backend framework depends on it..PPStudy the possibility of adding a new prototype character, \f(CW\*(C`_\*(C'\fR, meaning\&\*(L"this argument defaults to \f(CW$_\fR\*(R"..PPMake the peephole optimizer optional..PPAllow lexical aliases (maybe via the syntax \f(CW\*(C`my \e$alias = \e$foo\*(C'\fR..PPFix the bugs revealed by running the test suite with the \f(CW\*(C`\-t\*(C'\fR switch (via\&\f(CW\*(C`make test.taintwarn\*(C'\fR)..PPMake threads more robust..PPMake \f(CW\*(C`no 6\*(C'\fR and \f(CW\*(C`no v6\*(C'\fR work (opposite of \f(CW\*(C`use 5.005\*(C'\fR, etc.)..PPA test suite for the B module would be nice..PPA ponie..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://bugs.perl.org/ .  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 + -