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

📄 perl593delta.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 2 页
字号:
.ie n .Sh """ptar""".el .Sh "\f(CWptar\fP".IX Subsection "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..ie n .Sh """ptardiff""".el .Sh "\f(CWptardiff\fP".IX Subsection "ptardiff"\&\f(CW\*(C`ptardiff\*(C'\fR is a small script 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..ie n .Sh """shasum""".el .Sh "\f(CWshasum\fP".IX Subsection "shasum"This command-line utility, used to print or to check \s-1SHA\s0 digests, comeswith the new \f(CW\*(C`Digest::SHA\*(C'\fR module..ie n .Sh """h2xs"" enhancements".el .Sh "\f(CWh2xs\fP enhancements".IX Subsection "h2xs enhancements"\&\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..PPThe handling of authors' names that had apostrophes has been fixed..PPAny enums with negative values are now skipped..ie n .Sh """perlivp"" enhancements".el .Sh "\f(CWperlivp\fP enhancements".IX Subsection "perlivp enhancements"\&\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..SH "Documentation".IX Header "Documentation".Sh "Perl Glossary".IX Subsection "Perl Glossary"The perlglossary manpage is a glossary of terms used in the Perldocumentation, technical and otherwise, kindly provided by O'Reilly Media,Inc..PPperltodo now lists a rough roadmap to Perl 5.10..SH "Performance Enhancements".IX Header "Performance Enhancements".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 "Installation and Configuration Improvements".IX Header "Installation and Configuration Improvements".Sh "Compilation improvements".IX Subsection "Compilation improvements"Parallel makes should work properly now, although there may still be problemsif \f(CW\*(C`make test\*(C'\fR is instructed to run in parallel..PPBuilding with Borland's compilers on Win32 should work more smoothly. Inparticular Steve Hay has worked to side step many warnings emitted by theircompilers and at least one C compiler internal error..PPPerl extensions on Windows now can be statically built into the Perl \s-1DLL\s0,thanks to a work by Vadim Konovalov..Sh "New Or Improved Platforms".IX Subsection "New Or Improved Platforms"Perl is being ported to Symbian \s-1OS\s0. See perlsymbian for moreinformation..PPThe \s-1VMS\s0 port has been improved. See perlvms..PP\&\fIDynaLoader::dl_unload_file()\fR now works on Windows..PPPortability of Perl on various recent compilers on Windows has beenimproved (Borland \*(C+, Visual \*(C+ 7.0)..Sh "New probes".IX Subsection "New probes"\&\f(CW\*(C`Configure\*(C'\fR will now detect \f(CW\*(C`clearenv\*(C'\fR and \f(CW\*(C`unsetenv\*(C'\fR, thanks to apatch from Alan Burlison. It will also probe for \f(CW\*(C`futimes\*(C'\fR (and use itinternally if available), and whether \f(CW\*(C`sprintf\*(C'\fR correctly returns thelength of the formatted string..Sh "Module auxiliary files".IX Subsection "Module auxiliary files"\&\s-1README\s0 files and changelogs for \s-1CPAN\s0 modules bundled with perl are nolonger installed..SH "Selected Bug Fixes".IX Header "Selected Bug Fixes".ie n .Sh """defined $$x""".el .Sh "\f(CWdefined $$x\fP".IX Subsection "defined $$x"\&\f(CW\*(C`use strict "refs"\*(C'\fR was ignoring taking a hard reference in an argumentto \fIdefined()\fR, as in :.PP.Vb 3\&    use strict "refs";\&    my $x = "foo";\&    if (defined $$x) {...}.Ve.PPThis now correctly produces the run-time error \f(CW\*(C`Can\*(Aqt use string as aSCALAR ref while "strict refs" in use\*(C'\fR. (However, \f(CW\*(C`defined @$foo\*(C'\fR and\&\f(CW\*(C`defined %$foo\*(C'\fR are still allowed. Those constructs are discouragedanyway.).Sh "Calling \fICORE::require()\fP".IX Subsection "Calling CORE::require()"\&\fICORE::require()\fR and \fICORE::do()\fR were always parsed as \fIrequire()\fR and \fIdo()\fRwhen they were overridden. This is now fixed..Sh "Subscripts of slices".IX Subsection "Subscripts of slices"You can now use a non-arrowed form for chained subscripts after a listslice, like in:.PP.Vb 1\&    ({foo => "bar"})[0]{foo}.Ve.PPThis used to be a syntax error; a \f(CW\*(C`\->\*(C'\fR was required..Sh "Remove over-optimisation".IX Subsection "Remove over-optimisation"Perl 5.9.2 introduced a change so that assignments of \f(CW\*(C`undef\*(C'\fR to ascalar, or of an empty list to an array or a hash, were optimised out. Asthis could cause problems when \f(CW\*(C`goto\*(C'\fR jumps were involved, this changewas backed out..Sh "\fIsprintf()\fP fixes".IX Subsection "sprintf() fixes"Using the \fIsprintf()\fR function with some formats could lead to a bufferoverflow in some specific cases. This has been fixed, along with severalother bugs, notably in bounds checking..PPIn related fixes, it was possible for badly written code that did not followthe documentation of \f(CW\*(C`Sys::Syslog\*(C'\fR to have formatting vulnerabilities.\&\f(CW\*(C`Sys::Syslog\*(C'\fR has been changed to protect people from poor quality thirdparty code..Sh "no warnings 'category' works correctly with \-w".IX Subsection "no warnings 'category' works correctly with -w"Previously when running with warnings enabled globally via \f(CW\*(C`\-w\*(C'\fR, selectivedisabling of specific warning categories would actually turn off all warnings.This is now fixed; now \f(CW\*(C`no warnings \*(Aqio\*(Aq;\*(C'\fR will only turn off warnings in the\&\f(CW\*(C`io\*(C'\fR class. Previously it would erroneously turn off all warnings..Sh "Smaller fixes".IX Subsection "Smaller fixes".IP "\(bu" 4\&\f(CW\*(C`FindBin\*(C'\fR now works better with directories where access rights are morerestrictive than usual..IP "\(bu" 4Several memory leaks in ithreads were closed. Also, ithreads were madeless memory-intensive..IP "\(bu" 4Trailing spaces are now trimmed from \f(CW$!\fR and \f(CW$^E\fR..IP "\(bu" 4Operations that require perl to read a process' list of groups, such as readsof \f(CW$(\fR and \f(CW$)\fR, now dynamically allocate memory rather than using afixed sized array. The fixed size array could cause C stack exhaustion onsystems configured to use large numbers of groups..IP "\(bu" 4\&\f(CW\*(C`PerlIO::scalar\*(C'\fR now works better with non-default \f(CW$/\fR settings..IP "\(bu" 4The \f(CW\*(C`x\*(C'\fR repetition operator is now able to operate on \f(CW\*(C`qw//\*(C'\fR lists. Thisused to raise a syntax error..IP "\(bu" 4The debugger now traces correctly execution in eval("")uated code thatcontains #line directives..IP "\(bu" 4The value of the \f(CW\*(C`open\*(C'\fR pragma is no longer ignored for three-argumentopens..IP "\(bu" 4Perl will now use the C library calls \f(CW\*(C`unsetenv\*(C'\fR and \f(CW\*(C`clearenv\*(C'\fR if presentto delete keys from \f(CW%ENV\fR and delete \f(CW%ENV\fR entirely, thanks to a patchfrom Alan Burlison..Sh "More Unicode Fixes".IX Subsection "More Unicode Fixes".IP "\(bu" 4\&\fIchr()\fR on a negative value now gives \f(CW\*(C`\ex{FFFD}\*(C'\fR, the Unicode replacementcharacter, unless when the \f(CW\*(C`bytes\*(C'\fR pragma is in effect, where the loweight bytes of the value are used..IP "\(bu" 4Some case insensitive matches between \s-1UTF\-8\s0 encoded data and 8 bit regexps,and vice versa, could give malformed character warnings. These have beenfixed by Dave Mitchell and Yves Orton..IP "\(bu" 4\&\f(CW\*(C`lcfirst\*(C'\fR and \f(CW\*(C`ucfirst\*(C'\fR could corrupt the string for certain cases wherethe length \s-1UTF\-8\s0 encoding of the string in lower case, upper case or titlecase differed. This was fixed by Nicholas Clark..SH "New or Changed Diagnostics".IX Header "New or Changed Diagnostics".Sh "Attempt to set length of freed array".IX Subsection "Attempt to set length of freed array"This is a new warning, produced in situations like the following one:.PP.Vb 2\&    $r = do {my @a; \e$#a};\&    $$r = 503;.Ve.Sh "Non-string passed as bitmask".IX Subsection "Non-string passed as bitmask"This is a new warning, produced when number has been passed as a argument to\&\fIselect()\fR, instead of a bitmask..PP.Vb 3\&    # Wrong, will now warn\&    $rin = fileno(STDIN);\&    ($nfound,$timeleft) = select($rout=$rin, undef, undef, $timeout);\&    \&    # Should be\&    $rin = \*(Aq\*(Aq;\&    vec($rin,fileno(STDIN),1) = 1;\&    ($nfound,$timeleft) = select($rout=$rin, undef, undef, $timeout);.Ve.Sh "Search pattern not terminated or ternary operator parsed as search pattern".IX Subsection "Search pattern not terminated or ternary operator parsed as search pattern"This syntax error indicates that the lexer couldn't find the finaldelimiter of a \f(CW\*(C`?PATTERN?\*(C'\fR construct. Mentioning the ternary operator inthis error message makes syntax diagnostic easier..ie n .Sh """%s"" variable %s masks earlier declaration".el .Sh "``%s'' variable \f(CW%s\fP masks earlier declaration".IX Subsection "%s variable %s masks earlier declaration"This warning is now emitted in more consistent cases; in short, when oneof the declarations involved is a \f(CW\*(C`my\*(C'\fR variable:.PP.Vb 3\&    my $x;   my $x;     # warns\&    my $x;  our $x;     # warns\&    our $x;  my $x;     # warns.Ve.PPOn the other hand, the following:.PP.Vb 1\&    our $x; our $x;.Ve.PPnow gives a \f(CW\*(C`"our" variable %s redeclared\*(C'\fR warning..Sh "\fIreaddir()\fP/\fIclosedir()\fP/etc. attempted on invalid dirhandle".IX Subsection "readdir()/closedir()/etc. attempted on invalid dirhandle"These new warnings are now emitted when a dirhandle is used but iseither closed or not really a dirhandle..SH "Changed Internals".IX Header "Changed Internals"In general, the source code of perl has been refactored, tied up, andoptimized in many places. Also, memory management and allocation has beenimproved in a couple of points..PPAndy Lester supplied many improvements to determine which functionparameters and local variables could actually be declared \f(CW\*(C`const\*(C'\fR to the Ccompiler. Steve Peters provided new \f(CW*_set\fR macros and reworked the core touse these rather than assigning to macros in \s-1LVALUE\s0 context..PPDave Mitchell improved the lexer debugging output under \f(CW\*(C`\-DT\*(C'\fR..PPA new file, \fImathoms.c\fR, has been added. It contains functions that areno longer used in the perl core, but that remain available for binary orsource compatibility reasons. However, those functions will not becompiled in if you add \f(CW\*(C`\-DNO_MATHOMS\*(C'\fR in the compiler flags..PPThe \f(CW\*(C`AvFLAGS\*(C'\fR macro has been removed..PPThe \f(CW\*(C`av_*()\*(C'\fR functions, used to manipulate arrays, no longer accept null\&\f(CW\*(C`AV*\*(C'\fR parameters..Sh "B:: modules inheritance changed".IX Subsection "B:: modules inheritance changed"The inheritance hierarchy of \f(CW\*(C`B::\*(C'\fR modules has changed; \f(CW\*(C`B::NV\*(C'\fR nowinherits from \f(CW\*(C`B::SV\*(C'\fR (it used to inherit from \f(CW\*(C`B::IV\*(C'\fR)..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 + -