perl595delta.pod
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· POD 代码 · 共 594 行 · 第 1/2 页
POD
594 行
=item from_hex(), from_oct(), and from_bin()=item as_oct()=backIn addition, the default math-backend (Calc (Perl) and FastCalc (XS)) nowsupport storing numbers in parts with 9 digits instead of 7 on Perls witheither 64bit integer or long double support. This means math operationsscale better and are thus faster for really big numbers.=head2 New Core Modules=over 4=item *C<Locale::Maketext::Simple>, needed by CPANPLUS, is a simple wrapper aroundC<Locale::Maketext::Lexicon>. Note that C<Locale::Maketext::Lexicon> isn'tincluded in the perl core; the behaviour of C<Locale::Maketext::Simple>gracefully degrades when the later isn't present.=item *C<Params::Check> implements a generic input parsing/checking mechanism. Itis used by CPANPLUS.=item *C<Term::UI> simplifies the task to ask questions at a terminal prompt.=item *C<Object::Accessor> provides an interface to create per-object accessors.=item *C<Module::Pluggable> is a simple framework to create modules that acceptpluggable sub-modules.=item *C<Module::Load::Conditional> provides simple ways to query and possiblyload installed modules.=item *C<Time::Piece> provides an object oriented interface to time functions,overriding the built-ins localtime() and gmtime().=item *C<IPC::Cmd> helps to find and run external commands, possiblyinteractively.=item *C<File::Fetch> provide a simple generic file fetching mechanism.=item *C<Log::Message> and C<Log::Message::Simple> are used by the log facilityof C<CPANPLUS>.=item *C<Archive::Extract> is a generic archive extraction mechanismfor F<.tar> (plain, gziped or bzipped) or F<.zip> files.=item *C<CPANPLUS> provides an API and a command-line tool to access the CPANmirrors.=back=head2 Module changes=over 4=item C<assertions>The C<assertions> pragma, its submodules C<assertions::activate> andC<assertions::compat> and the B<-A> command-line switch have been removed.The interface was not judged mature enough for inclusion in a stablerelease.=item C<base>The C<base> pragma now warns if a class tries to inherit from itself.(Curtis "Ovid" Poe)=item C<strict> and C<warnings>C<strict> and C<warnings> will now complain loudly if they are loaded viaincorrect casing (as in C<use Strict;>). (Johan Vromans)=item C<warnings>The C<warnings> pragma doesn't load C<Carp> anymore. That means that codethat used C<Carp> routines without having loaded it at compile time mightneed to be adjusted; typically, the following (faulty) code won't workanymore, and will require parentheses to be added after the function name: use warnings; require Carp; Carp::confess "argh";=item C<less>C<less> now does something useful (or at least it tries to). In fact, ithas been turned into a lexical pragma. So, in your modules, you can nowtest whether your users have requested to use less CPU, or less memory,less magic, or maybe even less fat. See L<less> for more. (Joshua benJore)=item C<Attribute::Handlers>C<Attribute::Handlers> can now report the caller's file and line number.(David Feldman)=item C<B::Lint>C<B::Lint> is now based on C<Module::Pluggable>, and so can be extendedwith plugins. (Joshua ben Jore)=item C<B>It's now possible to access the lexical pragma hints (C<%^H>) by using themethod B::COP::hints_hash(). It returns a C<B::RHE> object, which in turncan be used to get a hash reference via the method B::RHE::HASH(). (Joshuaben Jore)=for p5p XXX document this in B.pm too=item C<Thread>As the old 5005thread threading model has been removed, in favor of theithreads scheme, the C<Thread> module is now a compatibility wrapper, tobe used in old code only. It has been removed from the default list ofdynamic extensions.=back=head1 Utility Changes=head2 C<cpanp>C<cpanp>, the CPANPLUS shell, has been added. (C<cpanp-run-perl>, anhelper for CPANPLUS operation, has been added too, but isn't intended fordirect use).=head2 C<cpan2dist>C<cpan2dist> is a new utility, that comes with CPANPLUS. It's a tool tocreate distributions (or packages) from CPAN modules.=head2 C<pod2html>The output of C<pod2html> has been enhanced to be more customizable viaCSS. Some formatting problems were also corrected. (Jari Aalto)=head1 Documentation=head2 New manpage, perlunifaqA new manual page, L<perlunifaq> (the Perl Unicode FAQ), has been added(Juerd Waalboer).=head1 Performance Enhancements=head1 Installation and Configuration Improvements=head2 C++ compatibilityEfforts have been made to make perl and the core XS modules compilablewith various C++ compilers (although the situation is not perfect withsome of the compilers on some of the platforms tested.)=head2 Visual C++Perl now can be compiled with Microsoft Visual C++ 2005.=head2 Static build on Win32It's now possible to build a C<perl-static.exe> that doesn't dependon C<perl59.dll> on Win32. See the Win32 makefiles for details.(Vadim Konovalov)=head2 win32 buildsAll win32 builds (MS-Win, WinCE) have been merged and cleaned up.=head2 C<d_pseudofork> and C<d_printf_format_null>A new configuration variable, available as C<$Config{d_pseudofork}> inthe L<Config> module, has been added, to distinguish real fork() supportfrom fake pseudofork used on Windows platforms.A new configuration variable, C<d_printf_format_null>, has been added, to see if printf-like formats are allowed to be NULL.=head2 HelpC<Configure -h> has been extended with the most used option.Much less 'Whoa there' messages.=head2 64bit systemsBetter detection of 64bit(only) systems, and setting all the (library)paths accordingly.=head2 PortsPerl has been reported to work on MidnightBSD.Support for Cray XT4 Catamount/Qk has been added.Vendor patches have been merged for RedHat and GenToo.=head1 Selected Bug FixesPerlIO::scalar will now prevent writing to read-only scalars. Moreover,seek() is now supported with PerlIO::scalar-based filehandles, theunderlying string being zero-filled as needed. (Rafael, Jarkko Hietaniemi)study() never worked for UTF-8 strings, but could lead to false results.It's now a no-op on UTF-8 data. (Yves Orton)The signals SIGILL, SIGBUS and SIGSEGV are now always delivered in an"unsafe" manner (contrary to other signals, that are deferred until theperl interpreter reaches a reasonably stable state; seeL<perlipc/"Deferred Signals (Safe Signals)">). (Rafael)When a module or a file is loaded through an @INC-hook, and when this hookhas set a filename entry in %INC, __FILE__ is now set for this moduleaccordingly to the contents of that %INC entry. (Rafael)The C<-w> and C<-t> switches can now be used together without messingup what categories of warnings are activated or not. (Rafael)Duping a filehandle which has the C<:utf8> PerlIO layer set will nowproperly carry that layer on the duped filehandle. (Rafael)Localizing an hash element whose key was given as a variable didn't workcorrectly if the variable was changed while the local() was in effect (asin C<local $h{$x}; ++$x>). (Bo Lindbergh)=head1 New or Changed Diagnostics=head2 DeprecationsTwo deprecation warnings have been added: (Rafael) Opening dirhandle %s also as a file Opening filehandle %s also as a directory=head1 Changed InternalsThe anonymous hash and array constructors now take 1 op in the optreeinstead of 3, now that pp_anonhash and pp_anonlist return a reference toan hash/array when the op is flagged with OPf_SPECIAL (Nicholas Clark).=for p5p XXX have we some docs on how to create regexp engine plugins, since that's now possible ? (perlreguts)=for p5p XXX new BIND SV type, #29544, #29642=head1 Known Problems=head2 Platform Specific Problems=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://rt.perl.org/rt3/ . 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 + =
减小字号Ctrl + -
显示快捷键?