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

📄 perl581delta.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 4 页
字号:
.Ve.PPtests whether the bitwise \s-1AND\s0 of \f(CW$x\fR and \f(CW$y\fR is zero,you will like this warning..ie n .Sh "New ""Pseudo-hashes are deprecated""".el .Sh "New ``Pseudo-hashes are deprecated''".IX Subsection "New Pseudo-hashes are deprecated"This warning should have been already in 5.8.0, since they are..ie n .Sh "New ""\fIread()\fP on %s\fP filehandle \f(CW%s""".el .Sh "New ``\fIread()\fP on \f(CW%s\fP filehandle \f(CW%s\fP''".IX Subsection "New read() on %s filehandle %s"You cannot \fIread()\fR (or \fIsysread()\fR) from a closed or unopened filehandle..ie n .Sh "New ""5.005 threads are deprecated""".el .Sh "New ``5.005 threads are deprecated''".IX Subsection "New 5.005 threads are deprecated"This warning should have been already in 5.8.0, since they are..ie n .Sh "New ""Tied variable freed while still in use""".el .Sh "New ``Tied variable freed while still in use''".IX Subsection "New Tied variable freed while still in use"Something pulled the plug on a live tied variable, Perl playssafe by bailing out..ie n .Sh "New ""To%s: illegal mapping '%s'""".el .Sh "New ``To%s: illegal mapping '%s'''".IX Subsection "New To%s: illegal mapping '%s'"An illegal user-defined Unicode casemapping was specified..ie n .Sh "New ""Use of freed value in iteration""".el .Sh "New ``Use of freed value in iteration''".IX Subsection "New Use of freed value in iteration"Something modified the values being iterated over.  This is not good..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..PPThe embedding examples of perlembed have been reviewed to beup to date and consistent: for example, the correct use of\&\s-1\fIPERL_SYS_INIT3\s0()\fR and \s-1\fIPERL_SYS_TERM\s0()\fR..PPExtensive reworking of the pad code (the code responsiblefor lexical variables) has been conducted by Dave Mitchell..PPExtensive work on the v\-strings by John Peacock..PP\&\s-1UTF\-8\s0 length and position cache: to speed up the handling of Unicode(\s-1UTF\-8\s0) scalars, a cache was introduced.  Potential problems exist ifan extension bypasses the official APIs and directly modifies the \s-1PV\s0of an \s-1SV:\s0 the \s-1UTF\-8\s0 cache does not get cleared as it should..PPAPIs obsoleted in Perl 5.8.0, like sv_2pv, sv_catpvn, sv_catsv,sv_setsv, are again available..PPCertain Perl core C APIs like cxinc and regatom are no longeravailable at all to code outside the Perl core of the Perl coreextensions.  This is intentional.  They never should have beenavailable with the shorter names, and if you application depends onthem, you should (be ashamed and) contact perl5\-porters to discusswhat are the proper APIs..PPCertain Perl core C APIs like \f(CW\*(C`Perl_list\*(C'\fR are no longer availablewithout their \f(CW\*(C`Perl_\*(C'\fR prefix.  If your \s-1XS\s0 module stops workingbecause some functions cannot be found, in many cases a simple fix isto add the \f(CW\*(C`Perl_\*(C'\fR prefix to the function and the thread context\&\f(CW\*(C`aTHX_\*(C'\fR as the first argument of the function call.  This is also howit should always have been done: letting the Perl_\-less forms to leakfrom the core was an accident.  For cleaner embedding you can alsoforce this for all APIs by defining at compile time the cpp define\&\s-1PERL_NO_SHORT_NAMES\s0..PP\&\fIPerl_save_bool()\fR has been added..PPRegexp objects (those created with \f(CW\*(C`qr\*(C'\fR) now have S\-magic rather thanR\-magic.  This fixed regexps of the form /...(??{...;$x})/ to nolonger ignore changes made to \f(CW$x\fR.  The S\-magic avoids droppingthe caching optimization and making (??{...}) constructs obscenelyslow (and consequently useless).  See also \*(L"Magic Variables\*(R" in perlguts.Regexp::Copy was affected by this change..PPThe Perl internal debugging macros \s-1\fIDEBUG\s0()\fR and \s-1\fIDEB\s0()\fR have been renamedto \s-1\fIPERL_DEBUG\s0()\fR and \s-1\fIPERL_DEB\s0()\fR to avoid namespace conflicts..PP\&\f(CW\*(C`\-DL\*(C'\fR removed (the leaktest had been broken and unsupported for years,use alternative debugging mallocs or tools like valgrind and Purify)..PPVerbose modifier \f(CW\*(C`v\*(C'\fR added for \f(CW\*(C`\-DXv\*(C'\fR and \f(CW\*(C`\-Dsv\*(C'\fR, see perlrun..SH "New Tests".IX Header "New Tests"In Perl 5.8.0 there were about 69000 separate tests in about 700 test files,in Perl 5.8.1 there are about 77000 separate tests in about 780 test files.The exact numbers depend on the Perl configuration and on the operatingsystem platform..SH "Known Problems".IX Header "Known Problems"The hash randomisation mentioned in \*(L"Incompatible Changes\*(R" is definitelyproblematic: it will wake dormant bugs and shake out bad assumptions..PPIf you want to use mod_perl 2.x with Perl 5.8.1, you will needmod_perl\-1.99_10 or higher.  Earlier versions of mod_perl 2.xdo not work with the randomised hashes.  (mod_perl 1.x works fine.)You will also need Apache::Test 1.04 or higher..PPMany of the rarer platforms that worked 100% or pretty close to itwith perl 5.8.0 have been left a little bit untended since theirmaintainers have been otherwise busy lately, and therefore there willbe more failures on those platforms.  Such platforms include Mac \s-1OS\s0Classic, \s-1IBM\s0 z/OS (and other \s-1EBCDIC\s0 platforms), and NetWare.  The mostcommon Perl platforms (Unix and Unix-like, Microsoft platforms, and\&\s-1VMS\s0) have large enough testing and expert population that they aredoing well..Sh "Tied hashes in scalar context".IX Subsection "Tied hashes in scalar context"Tied hashes do not currently return anything useful in scalar context,for example when used as boolean tests:.PP.Vb 1\&        if (%tied_hash) { ... }.Ve.PPThe current nonsensical behaviour is always to return false,regardless of whether the hash is empty or has elements..PPThe root cause is that there is no interface for the implementors oftied hashes to implement the behaviour of a hash in scalar context..Sh "Net::Ping 450_service and 510_ping_udp failures".IX Subsection "Net::Ping 450_service and 510_ping_udp failures"The subtests 9 and 18 of lib/Net/Ping/t/450_service.t, and thesubtest 2 of lib/Net/Ping/t/510_ping_udp.t might fail if you havean unusual networking setup.  For example in the latter case thetest is trying to send a \s-1UDP\s0 ping to the \s-1IP\s0 address 127.0.0.1..Sh "B::C".IX Subsection "B::C"The C\-generating compiler backend B::C (the frontend being\&\f(CW\*(C`perlcc \-c\*(C'\fR) is even more broken than it used to be because ofthe extensive lexical variable changes.  (The good news is thatB::Bytecode and ByteLoader are better than they used to be.).SH "Platform Specific Problems".IX Header "Platform Specific Problems".Sh "\s-1EBCDIC\s0 Platforms".IX Subsection "EBCDIC Platforms"\&\s-1IBM\s0 z/OS and other \s-1EBCDIC\s0 platforms continue to be problematicregarding Unicode support.  Many Unicode tests are skipped whenthey really should be fixed..Sh "Cygwin 1.5 problems".IX Subsection "Cygwin 1.5 problems"In Cygwin 1.5 the \fIio/tell\fR and \fIop/sysio\fR tests have failures forsome yet unknown reason.  In 1.5.5 the threads tests stress_cv,stress_re, and stress_string are failing unless the environmentvariable \s-1PERLIO\s0 is set to \*(L"perlio\*(R" (which makes also the io/tellfailure go away)..PPPerl 5.8.1 does build and work well with Cygwin 1.3: with (uname \-a)\&\f(CW\*(C`CYGWIN_NT\-5.0 ... 1.3.22(0.78/3/2) 2003\-03\-18 09:20 i686 ...\*(C'\fRa 100% \*(L"make test\*(R"  was achieved with \f(CW\*(C`Configure \-des \-Duseithreads\*(C'\fR..Sh "HP-UX: \s-1HP\s0 cc warnings about sendfile and sendpath".IX Subsection "HP-UX: HP cc warnings about sendfile and sendpath"With certain \s-1HP\s0 C compiler releases (e.g. B.11.11.02) you willget many warnings like this (lines wrapped for easier reading):.PP.Vb 6\&  cc: "/usr/include/sys/socket.h", line 504: warning 562:\&    Redeclaration of "sendfile" with a different storage class specifier:\&      "sendfile" will have internal linkage.\&  cc: "/usr/include/sys/socket.h", line 505: warning 562:\&    Redeclaration of "sendpath" with a different storage class specifier:\&      "sendpath" will have internal linkage..Ve.PPThe warnings show up both during the build of Perl and during certainlib/ExtUtils tests that invoke the C compiler.  The warning, however,is not serious and can be ignored..Sh "\s-1IRIX:\s0 t/uni/tr_7jis.t falsely failing".IX Subsection "IRIX: t/uni/tr_7jis.t falsely failing"The test t/uni/tr_7jis.t is known to report failure under 'make test'or the test harness with certain releases of \s-1IRIX\s0 (at least \s-1IRIX\s0 6.5and MIPSpro Compilers Version 7.3.1.1m), but if run manually the testfully passes..Sh "Mac \s-1OS\s0 X: no usemymalloc".IX Subsection "Mac OS X: no usemymalloc"The Perl malloc (\f(CW\*(C`\-Dusemymalloc\*(C'\fR) does not work at all in Mac \s-1OS\s0 X.This is not that serious, though, since the native malloc works justfine..Sh "Tru64: No threaded builds with \s-1GNU\s0 cc (gcc)".IX Subsection "Tru64: No threaded builds with GNU cc (gcc)"In the latest Tru64 releases (e.g. v5.1B or later) gcc cannot be usedto compile a threaded Perl (\-Duseithreads) because the system\&\f(CW\*(C`<pthread.h>\*(C'\fR file doesn't know about gcc..Sh "Win32: sysopen, sysread, syswrite".IX Subsection "Win32: sysopen, sysread, syswrite"As of the 5.8.0 release, \fIsysopen()\fR/\fIsysread()\fR/\fIsyswrite()\fR do not behavelike they used to in 5.6.1 and earlier with respect to \*(L"text\*(R" mode.These built-ins now always operate in \*(L"binary\*(R" mode (even if \fIsysopen()\fRwas passed the O_TEXT flag, or if \fIbinmode()\fR was used on the filehandle).  Note that this issue should only make a difference for diskfiles, as sockets and pipes have always been in \*(L"binary\*(R" mode in theWindows port.  As this behavior is currently considered a bug,compatible behavior may be re-introduced in a future release.  Untilthen, the use of \fIsysopen()\fR, \fIsysread()\fR and \fIsyswrite()\fR is not supportedfor \*(L"text\*(R" mode operations..SH "Future Directions".IX Header "Future Directions"The following things \fBmight\fR happen in future.  The first publiclyavailable releases having these characteristics will be the developerreleases Perl 5.9.x, culminating in the Perl 5.10.0 release.  Theseare our best guesses at the moment: we reserve the right to rethink..IP "\(bu" 4PerlIO will become The Default.  Currently (in Perl 5.8.x) the stdiolibrary is still used if Perl thinks it can use certain tricks tomake stdio go \fBreally\fR fast.  For future releases our goal is tomake PerlIO go even faster..IP "\(bu" 4A new feature called \fIassertions\fR will be available.  This means thatone can have code called assertions sprinkled in the code: usuallythey are optimised away, but they can be enabled with the \f(CW\*(C`\-A\*(C'\fR option..IP "\(bu" 4A new operator \f(CW\*(C`//\*(C'\fR (defined-or) will be available.  This means thatone will be able to say.Sp.Vb 1\&    $a // $b.Ve.Spinstead of.Sp.Vb 1\&   defined $a ? $a : $b.Ve.Spand.Sp.Vb 1\&   $c //= $d;.Ve.Spinstead of.Sp.Vb 1\&   $c = $d unless defined $c;.Ve.SpThe operator will have the same precedence and associativity as \f(CW\*(C`||\*(C'\fR.A source code patch against the Perl 5.8.1 sources will be availablein \s-1CPAN\s0 as \fIauthors/id/H/HM/HMBRAND/dor\-5.8.1.diff\fR..IP "\(bu" 4\&\f(CW\*(C`unpack()\*(C'\fR will default to unpacking the \f(CW$_\fR..IP "\(bu" 4Various Copy-On-Write techniques will be investigated in hopesof speeding up Perl..IP "\(bu" 4\&\s-1CPANPLUS\s0, Inline, and Module::Build will become core modules..IP "\(bu" 4The ability to write true lexically scoped pragmas will be introduced..IP "\(bu" 4Work will continue on the bytecompiler and byteloader..IP "\(bu" 4v\-strings as they currently exist are scheduled to be deprecated.  Thev\-less form (1.2.3) will become a \*(L"version object\*(R" when used with \f(CW\*(C`use\*(C'\fR,\&\f(CW\*(C`require\*(C'\fR, and \f(CW$VERSION\fR.  $^V will also be a \*(L"version object\*(R" so theprintf(\*(L"%vd\*(R",...) construct will no longer be needed.  The v\-ful version(v1.2.3) will become obsolete.  The equivalence of strings and v\-strings (e.g.that currently 5.8.0 is equal to \*(L"\e5\e8\e0\*(R") will go away.  \fBThere may be nodeprecation warning for v\-strings\fR, though: it is quite hard to detect whenv\-strings are being used safely, and when they are not..IP "\(bu" 45.005 Threads Will Be Removed.IP "\(bu" 4The \f(CW$*\fR Variable Will Be Removed(it was deprecated a long time ago).IP "\(bu" 4Pseudohashes Will Be Removed.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.com/ , 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.  You can browse and searchthe Perl 5 bugs at http://bugs.perl.org/.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 + -