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

📄 perl595delta.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 2 页
字号:
example, \f(CW\*(C`prototype(\*(AqCORE::rmdir\*(Aq)\*(C'\fR). (Rafael).Sh "\s-1UNITCHECK\s0 blocks".IX Subsection "UNITCHECK blocks"\&\f(CW\*(C`UNITCHECK\*(C'\fR, a new special code block has been introduced, in addition to\&\f(CW\*(C`BEGIN\*(C'\fR, \f(CW\*(C`CHECK\*(C'\fR, \f(CW\*(C`INIT\*(C'\fR and \f(CW\*(C`END\*(C'\fR..PP\&\f(CW\*(C`CHECK\*(C'\fR and \f(CW\*(C`INIT\*(C'\fR blocks, while useful for some specialized purposes,are always executed at the transition between the compilation and theexecution of the main program, and thus are useless whenever code isloaded at runtime. On the other hand, \f(CW\*(C`UNITCHECK\*(C'\fR blocks are executedjust after the unit which defined them has been compiled. See perlmodfor more information. (Alex Gough).Sh "\fIreadpipe()\fP is now overridable".IX Subsection "readpipe() is now overridable"The built-in function \fIreadpipe()\fR is now overridable. Overriding it permitsalso to override its operator counterpart, \f(CW\*(C`qx//\*(C'\fR (a.k.a. \f(CW\*(C`\`\`\*(C'\fR).Moreover, it now defaults to \f(CW$_\fR if no argument is provided. (Rafael).Sh "default argument for \fIreadline()\fP".IX Subsection "default argument for readline()"\&\fIreadline()\fR now defaults to \f(CW*ARGV\fR if no argument is provided. (Rafael).Sh "\s-1UCD\s0 5.0.0".IX Subsection "UCD 5.0.0"The copy of the Unicode Character Database included in Perl 5.9 hasbeen updated to version 5.0.0..Sh "Smart match".IX Subsection "Smart match"The smart match operator (\f(CW\*(C`~~\*(C'\fR) is now available by default (you don'tneed to enable it with \f(CW\*(C`use feature\*(C'\fR any longer). (Michael G Schwern).ie n .Sh "Implicit loading of ""feature""".el .Sh "Implicit loading of \f(CWfeature\fP".IX Subsection "Implicit loading of feature"The \f(CW\*(C`feature\*(C'\fR pragma is now implicitly loaded when you require a minimalperl version (with the \f(CW\*(C`use VERSION\*(C'\fR construct) greater than, or equalto, 5.9.5..SH "Modules and Pragmas".IX Header "Modules and Pragmas".ie n .Sh "New Pragma, ""mro""".el .Sh "New Pragma, \f(CWmro\fP".IX Subsection "New Pragma, mro"A new pragma, \f(CW\*(C`mro\*(C'\fR (for Method Resolution Order) has been added. Itpermits to switch, on a per-class basis, the algorithm that perl uses tofind inherited methods in case of a multiple inheritance hierarchy. Thedefault \s-1MRO\s0 hasn't changed (\s-1DFS\s0, for Depth First Search). Another \s-1MRO\s0 isavailable: the C3 algorithm. See mro for more information.(Brandon Black).PPNote that, due to changes in the implementation of class hierarchy search,code that used to undef the \f(CW*ISA\fR glob will most probably break. Anyway,undef'ing \f(CW*ISA\fR had the side-effect of removing the magic on the \f(CW@ISA\fRarray and should not have been done in the first place..Sh "bignum, bigint, bigrat".IX Subsection "bignum, bigint, bigrat"The three numeric pragmas \f(CW\*(C`bignum\*(C'\fR, \f(CW\*(C`bigint\*(C'\fR and \f(CW\*(C`bigrat\*(C'\fR are nowlexically scoped. (Tels).Sh "Math::BigInt/Math::BigFloat".IX Subsection "Math::BigInt/Math::BigFloat"Many bugs have been fixed; noteworthy are comparisons with NaN, whichno longer warn about undef values..PPThe following things are new:.IP "\fIconfig()\fR" 4.IX Item "config()"The \fIconfig()\fR method now also supports the calling-style\&\f(CW\*(C`config(\*(Aqlib\*(Aq)\*(C'\fR in addition to \f(CW\*(C`config()\->{\*(Aqlib\*(Aq}\*(C'\fR..IP "\fIimport()\fR" 4.IX Item "import()"Upon import, using \f(CW\*(C`lib => \*(AqFoo\*(Aq\*(C'\fR now warns if the low-level librarycannot be found. To suppress the warning, you can use \f(CW\*(C`try => \*(AqFoo\*(Aq\*(C'\fRinstead. To convert the warning into a die, use \f(CW\*(C`only => \*(AqFoo\*(Aq\*(C'\fRinstead..IP "roundmode common" 4.IX Item "roundmode common"A rounding mode of \f(CW\*(C`common\*(C'\fR is now supported..PPAlso, support for the following methods has been added:.IP "\fIbpi()\fR, \fIbcos()\fR, \fIbsin()\fR, \fIbatan()\fR, \fIbatan2()\fR" 4.IX Item "bpi(), bcos(), bsin(), batan(), batan2()".PD 0.IP "\fIbmuladd()\fR" 4.IX Item "bmuladd()".IP "\fIbexp()\fR, \fIbnok()\fR" 4.IX Item "bexp(), bnok()".IP "\fIfrom_hex()\fR, \fIfrom_oct()\fR, and \fIfrom_bin()\fR" 4.IX Item "from_hex(), from_oct(), and from_bin()".IP "\fIas_oct()\fR" 4.IX Item "as_oct()".PD.PPIn addition, the default math-backend (Calc (Perl) and FastCalc (\s-1XS\s0)) 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..Sh "New Core Modules".IX Subsection "New Core Modules".IP "\(bu" 4\&\f(CW\*(C`Locale::Maketext::Simple\*(C'\fR, needed by \s-1CPANPLUS\s0, is a simple wrapper around\&\f(CW\*(C`Locale::Maketext::Lexicon\*(C'\fR. Note that \f(CW\*(C`Locale::Maketext::Lexicon\*(C'\fR isn'tincluded in the perl core; the behaviour of \f(CW\*(C`Locale::Maketext::Simple\*(C'\fRgracefully degrades when the later isn't present..IP "\(bu" 4\&\f(CW\*(C`Params::Check\*(C'\fR implements a generic input parsing/checking mechanism. Itis used by \s-1CPANPLUS\s0..IP "\(bu" 4\&\f(CW\*(C`Term::UI\*(C'\fR simplifies the task to ask questions at a terminal prompt..IP "\(bu" 4\&\f(CW\*(C`Object::Accessor\*(C'\fR provides an interface to create per-object accessors..IP "\(bu" 4\&\f(CW\*(C`Module::Pluggable\*(C'\fR is a simple framework to create modules that acceptpluggable sub-modules..IP "\(bu" 4\&\f(CW\*(C`Module::Load::Conditional\*(C'\fR provides simple ways to query and possiblyload installed modules..IP "\(bu" 4\&\f(CW\*(C`Time::Piece\*(C'\fR provides an object oriented interface to time functions,overriding the built-ins \fIlocaltime()\fR and \fIgmtime()\fR..IP "\(bu" 4\&\f(CW\*(C`IPC::Cmd\*(C'\fR helps to find and run external commands, possiblyinteractively..IP "\(bu" 4\&\f(CW\*(C`File::Fetch\*(C'\fR provide a simple generic file fetching mechanism..IP "\(bu" 4\&\f(CW\*(C`Log::Message\*(C'\fR and \f(CW\*(C`Log::Message::Simple\*(C'\fR are used by the log facilityof \f(CW\*(C`CPANPLUS\*(C'\fR..IP "\(bu" 4\&\f(CW\*(C`Archive::Extract\*(C'\fR is a generic archive extraction mechanismfor \fI.tar\fR (plain, gziped or bzipped) or \fI.zip\fR files..IP "\(bu" 4\&\f(CW\*(C`CPANPLUS\*(C'\fR provides an \s-1API\s0 and a command-line tool to access the \s-1CPAN\s0mirrors..Sh "Module changes".IX Subsection "Module changes".ie n .IP """assertions""" 4.el .IP "\f(CWassertions\fR" 4.IX Item "assertions"The \f(CW\*(C`assertions\*(C'\fR pragma, its submodules \f(CW\*(C`assertions::activate\*(C'\fR and\&\f(CW\*(C`assertions::compat\*(C'\fR and the \fB\-A\fR command-line switch have been removed.The interface was not judged mature enough for inclusion in a stablerelease..ie n .IP """base""" 4.el .IP "\f(CWbase\fR" 4.IX Item "base"The \f(CW\*(C`base\*(C'\fR pragma now warns if a class tries to inherit from itself.(Curtis \*(L"Ovid\*(R" Poe).ie n .IP """strict""\fR and \f(CW""warnings""" 4.el .IP "\f(CWstrict\fR and \f(CWwarnings\fR" 4.IX Item "strict and warnings"\&\f(CW\*(C`strict\*(C'\fR and \f(CW\*(C`warnings\*(C'\fR will now complain loudly if they are loaded viaincorrect casing (as in \f(CW\*(C`use Strict;\*(C'\fR). (Johan Vromans).ie n .IP """warnings""" 4.el .IP "\f(CWwarnings\fR" 4.IX Item "warnings"The \f(CW\*(C`warnings\*(C'\fR pragma doesn't load \f(CW\*(C`Carp\*(C'\fR anymore. That means that codethat used \f(CW\*(C`Carp\*(C'\fR 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:.Sp.Vb 3\&    use warnings;\&    require Carp;\&    Carp::confess "argh";.Ve.ie n .IP """less""" 4.el .IP "\f(CWless\fR" 4.IX Item "less"\&\f(CW\*(C`less\*(C'\fR 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 \s-1CPU\s0, or less memory,less magic, or maybe even less fat. See less for more. (Joshua benJore).ie n .IP """Attribute::Handlers""" 4.el .IP "\f(CWAttribute::Handlers\fR" 4.IX Item "Attribute::Handlers"\&\f(CW\*(C`Attribute::Handlers\*(C'\fR can now report the caller's file and line number.(David Feldman).ie n .IP """B::Lint""" 4.el .IP "\f(CWB::Lint\fR" 4.IX Item "B::Lint"\&\f(CW\*(C`B::Lint\*(C'\fR is now based on \f(CW\*(C`Module::Pluggable\*(C'\fR, and so can be extendedwith plugins. (Joshua ben Jore).ie n .IP """B""" 4.el .IP "\f(CWB\fR" 4.IX Item "B"It's now possible to access the lexical pragma hints (\f(CW\*(C`%^H\*(C'\fR) by using themethod \fIB::COP::hints_hash()\fR. It returns a \f(CW\*(C`B::RHE\*(C'\fR object, which in turncan be used to get a hash reference via the method \fIB::RHE::HASH()\fR. (Joshuaben Jore).ie n .IP """Thread""" 4.el .IP "\f(CWThread\fR" 4.IX Item "Thread"As the old 5005thread threading model has been removed, in favor of theithreads scheme, the \f(CW\*(C`Thread\*(C'\fR module is now a compatibility wrapper, tobe used in old code only. It has been removed from the default list ofdynamic extensions..SH "Utility Changes".IX Header "Utility Changes".ie n .Sh """cpanp""".el .Sh "\f(CWcpanp\fP".IX Subsection "cpanp"\&\f(CW\*(C`cpanp\*(C'\fR, the \s-1CPANPLUS\s0 shell, has been added. (\f(CW\*(C`cpanp\-run\-perl\*(C'\fR, anhelper for \s-1CPANPLUS\s0 operation, has been added too, but isn't intended fordirect use)..ie n .Sh """cpan2dist""".el .Sh "\f(CWcpan2dist\fP".IX Subsection "cpan2dist"\&\f(CW\*(C`cpan2dist\*(C'\fR is a new utility, that comes with \s-1CPANPLUS\s0. It's a tool tocreate distributions (or packages) from \s-1CPAN\s0 modules..ie n .Sh """pod2html""".el .Sh "\f(CWpod2html\fP".IX Subsection "pod2html"The output of \f(CW\*(C`pod2html\*(C'\fR has been enhanced to be more customizable via\&\s-1CSS\s0. Some formatting problems were also corrected. (Jari Aalto).SH "Documentation".IX Header "Documentation".Sh "New manpage, perlunifaq".IX Subsection "New manpage, perlunifaq"A new manual page, perlunifaq (the Perl Unicode \s-1FAQ\s0), has been added(Juerd Waalboer)..SH "Performance Enhancements".IX Header "Performance Enhancements".SH "Installation and Configuration Improvements".IX Header "Installation and Configuration Improvements".Sh "\*(C+ compatibility".IX Subsection " compatibility"Efforts have been made to make perl and the core \s-1XS\s0 modules compilablewith various \*(C+ compilers (although the situation is not perfect withsome of the compilers on some of the platforms tested.).Sh "Visual \*(C+".IX Subsection "Visual "Perl now can be compiled with Microsoft Visual \*(C+ 2005..Sh "Static build on Win32".IX Subsection "Static build on Win32"It's now possible to build a \f(CW\*(C`perl\-static.exe\*(C'\fR that doesn't dependon \f(CW\*(C`perl59.dll\*(C'\fR on Win32. See the Win32 makefiles for details.(Vadim Konovalov).Sh "win32 builds".IX Subsection "win32 builds"All win32 builds (MS-Win, WinCE) have been merged and cleaned up..ie n .Sh """d_pseudofork""\fP and \f(CW""d_printf_format_null""".el .Sh "\f(CWd_pseudofork\fP and \f(CWd_printf_format_null\fP".IX Subsection "d_pseudofork and d_printf_format_null"A new configuration variable, available as \f(CW$Config{d_pseudofork}\fR inthe Config module, has been added, to distinguish real \fIfork()\fR supportfrom fake pseudofork used on Windows platforms..PPA new configuration variable, \f(CW\*(C`d_printf_format_null\*(C'\fR, has been added, to see if printf-like formats are allowed to be \s-1NULL\s0..Sh "Help".IX Subsection "Help"\&\f(CW\*(C`Configure \-h\*(C'\fR has been extended with the most used option..PPMuch less 'Whoa there' messages..Sh "64bit systems".IX Subsection "64bit systems"Better detection of 64bit(only) systems, and setting all the (library)paths accordingly..Sh "Ports".IX Subsection "Ports"Perl has been reported to work on MidnightBSD..PPSupport for Cray \s-1XT4\s0 Catamount/Qk has been added..PPVendor patches have been merged for RedHat and GenToo..SH "Selected Bug Fixes".IX Header "Selected Bug Fixes"PerlIO::scalar will now prevent writing to read-only scalars. Moreover,\&\fIseek()\fR is now supported with PerlIO::scalar\-based filehandles, theunderlying string being zero-filled as needed. (Rafael, Jarkko Hietaniemi).PP\&\fIstudy()\fR never worked for \s-1UTF\-8\s0 strings, but could lead to false results.It's now a no-op on \s-1UTF\-8\s0 data. (Yves Orton).PPThe signals \s-1SIGILL\s0, \s-1SIGBUS\s0 and \s-1SIGSEGV\s0 are now always delivered in an\&\*(L"unsafe\*(R" manner (contrary to other signals, that are deferred until theperl interpreter reaches a reasonably stable state; see\&\*(L"Deferred Signals (Safe Signals)\*(R" in perlipc). (Rafael).PPWhen a module or a file is loaded through an \f(CW@INC\fR\-hook, and when this hookhas set a filename entry in \f(CW%INC\fR, _\|_FILE_\|_ is now set for this moduleaccordingly to the contents of that \f(CW%INC\fR entry. (Rafael).PPThe \f(CW\*(C`\-w\*(C'\fR and \f(CW\*(C`\-t\*(C'\fR switches can now be used together without messingup what categories of warnings are activated or not. (Rafael).PPDuping a filehandle which has the \f(CW\*(C`:utf8\*(C'\fR PerlIO layer set will nowproperly carry that layer on the duped filehandle. (Rafael).PPLocalizing an hash element whose key was given as a variable didn't workcorrectly if the variable was changed while the \fIlocal()\fR was in effect (asin \f(CW\*(C`local $h{$x}; ++$x\*(C'\fR). (Bo Lindbergh).SH "New or Changed Diagnostics".IX Header "New or Changed Diagnostics".Sh "Deprecations".IX Subsection "Deprecations"Two deprecation warnings have been added: (Rafael).PP.Vb 2\&    Opening dirhandle %s also as a file\&    Opening filehandle %s also as a directory.Ve.SH "Changed Internals".IX Header "Changed Internals"The 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)..SH "Known Problems".IX Header "Known Problems".Sh "Platform Specific Problems".IX Subsection "Platform Specific Problems".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://rt.perl.org/rt3/ .  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 + -