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

📄 perl593delta.pod

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 POD
📖 第 1 页 / 共 2 页
字号:
Salvador Fandi駉 provided improvements to reduce the memory usage of C<sort>and to speed up some cases.=head1 Installation and Configuration Improvements=head2 Compilation improvementsParallel makes should work properly now, although there may still be problemsif C<make test> is instructed to run in parallel.Building 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.Perl extensions on Windows now can be statically built into the Perl DLL,thanks to a work by Vadim Konovalov.=head2 New Or Improved PlatformsPerl is being ported to Symbian OS. See L<perlsymbian> for moreinformation.The VMS port has been improved. See L<perlvms>.DynaLoader::dl_unload_file() now works on Windows.Portability of Perl on various recent compilers on Windows has beenimproved (Borland C++, Visual C++ 7.0).=head2 New probesC<Configure> will now detect C<clearenv> and C<unsetenv>, thanks to apatch from Alan Burlison. It will also probe for C<futimes> (and use itinternally if available), and whether C<sprintf> correctly returns thelength of the formatted string.=head2 Module auxiliary filesREADME files and changelogs for CPAN modules bundled with perl are nolonger installed.=head1 Selected Bug Fixes=head2 C<defined $$x>C<use strict "refs"> was ignoring taking a hard reference in an argumentto defined(), as in :    use strict "refs";    my $x = "foo";    if (defined $$x) {...}This now correctly produces the run-time error C<Can't use string as aSCALAR ref while "strict refs" in use>. (However, C<defined @$foo> andC<defined %$foo> are still allowed. Those constructs are discouragedanyway.)=head2 Calling CORE::require()CORE::require() and CORE::do() were always parsed as require() and do()when they were overridden. This is now fixed.=head2 Subscripts of slicesYou can now use a non-arrowed form for chained subscripts after a listslice, like in:    ({foo => "bar"})[0]{foo}This used to be a syntax error; a C<< -> >> was required.=head2 Remove over-optimisationPerl 5.9.2 introduced a change so that assignments of C<undef> to ascalar, or of an empty list to an array or a hash, were optimised out. Asthis could cause problems when C<goto> jumps were involved, this changewas backed out.=head2 sprintf() fixesUsing the sprintf() 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.In related fixes, it was possible for badly written code that did not followthe documentation of C<Sys::Syslog> to have formatting vulnerabilities.C<Sys::Syslog> has been changed to protect people from poor quality thirdparty code.=head2 no warnings 'category' works correctly with -wPreviously when running with warnings enabled globally via C<-w>, selectivedisabling of specific warning categories would actually turn off all warnings.This is now fixed; now C<no warnings 'io';> will only turn off warnings in theC<io> class. Previously it would erroneously turn off all warnings.=head2 Smaller fixes=over 4=item *C<FindBin> now works better with directories where access rights are morerestrictive than usual.=item *Several memory leaks in ithreads were closed. Also, ithreads were madeless memory-intensive.=item *Trailing spaces are now trimmed from C<$!> and C<$^E>.=item *Operations that require perl to read a process' list of groups, such as readsof C<$(> and C<$)>, 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.=item *C<PerlIO::scalar> now works better with non-default C<$/> settings.=item *The C<x> repetition operator is now able to operate on C<qw//> lists. Thisused to raise a syntax error.=item *The debugger now traces correctly execution in eval("")uated code thatcontains #line directives.=item *The value of the C<open> pragma is no longer ignored for three-argumentopens.=item *Perl will now use the C library calls C<unsetenv> and C<clearenv> if presentto delete keys from C<%ENV> and delete C<%ENV> entirely, thanks to a patchfrom Alan Burlison.=back=head2 More Unicode Fixes=over 4=item *chr() on a negative value now gives C<\x{FFFD}>, the Unicode replacementcharacter, unless when the C<bytes> pragma is in effect, where the loweight bytes of the value are used.=item *Some case insensitive matches between UTF-8 encoded data and 8 bit regexps,and vice versa, could give malformed character warnings. These have beenfixed by Dave Mitchell and Yves Orton.=item *C<lcfirst> and C<ucfirst> could corrupt the string for certain cases wherethe length UTF-8 encoding of the string in lower case, upper case or titlecase differed. This was fixed by Nicholas Clark.=back=head1 New or Changed Diagnostics=head2 Attempt to set length of freed arrayThis is a new warning, produced in situations like the following one:    $r = do {my @a; \$#a};    $$r = 503;=head2 Non-string passed as bitmaskThis is a new warning, produced when number has been passed as a argument toselect(), instead of a bitmask.    # Wrong, will now warn    $rin = fileno(STDIN);    ($nfound,$timeleft) = select($rout=$rin, undef, undef, $timeout);        # Should be    $rin = '';    vec($rin,fileno(STDIN),1) = 1;    ($nfound,$timeleft) = select($rout=$rin, undef, undef, $timeout);=head2 Search pattern not terminated or ternary operator parsed as search patternThis syntax error indicates that the lexer couldn't find the finaldelimiter of a C<?PATTERN?> construct. Mentioning the ternary operator inthis error message makes syntax diagnostic easier.=head2 "%s" variable %s masks earlier declarationThis warning is now emitted in more consistent cases; in short, when oneof the declarations involved is a C<my> variable:    my $x;   my $x;	# warns    my $x;  our $x;	# warns    our $x;  my $x;	# warnsOn the other hand, the following:    our $x; our $x;now gives a C<"our" variable %s redeclared> warning.=head2 readdir()/closedir()/etc. attempted on invalid dirhandleThese new warnings are now emitted when a dirhandle is used but iseither closed or not really a dirhandle.=head1 Changed InternalsIn 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.Andy Lester supplied many improvements to determine which functionparameters and local variables could actually be declared C<const> to the Ccompiler. Steve Peters provided new C<*_set> macros and reworked the core touse these rather than assigning to macros in LVALUE context.Dave Mitchell improved the lexer debugging output under C<-DT>.A new file, F<mathoms.c>, 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 C<-DNO_MATHOMS> in the compiler flags.The C<AvFLAGS> macro has been removed.The C<av_*()> functions, used to manipulate arrays, no longer accept nullC<AV*> parameters.=head2 B:: modules inheritance changedThe inheritance hierarchy of C<B::> modules has changed; C<B::NV> nowinherits from C<B::SV> (it used to inherit from C<B::IV>).=head1 Reporting BugsIf 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.If you believe you have an unreported bug, please run the B<perlbug>program included with your release.  Be sure to trim your bug downto a tiny but sufficient test case.  Your bug report, along with theoutput of C<perl -V>, will be sent off to perlbug@perl.org to beanalysed by the Perl porting team.=head1 SEE ALSOThe F<Changes> file for exhaustive details on what changed.The F<INSTALL> file for how to build Perl.The F<README> file for general stuff.The F<Artistic> and F<Copying> files for copyright information.=cut

⌨️ 快捷键说明

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