📄 perl572delta.1
字号:
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05).\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings. \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote. \*(C+ will.\" give a nicer C++. Capital omega is used to do unbreakable dashes and.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,.\" nothing in troff, for use with C<>..tr \(*W-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\. ds -- \(*W-. ds PI pi. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch. ds L" "". ds R" "". ds C` "". ds C' ""'br\}.el\{\. ds -- \|\(em\|. ds PI \(*p. ds L" ``. ds R" '''br\}.\".\" Escape single quotes in literal strings from groff's Unicode transform..ie \n(.g .ds Aq \(aq.el .ds Aq '.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD. Of course, you'll have to process the.\" output yourself in some meaningful fashion..ie \nF \{\. de IX. tm Index:\\$1\t\\n%\t"\\$2"... nr % 0. rr F.\}.el \{\. de IX...\}.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear. Run. Save yourself. No user-serviceable parts.. \" fudge factors for nroff and troff.if n \{\. ds #H 0. ds #V .8m. ds #F .3m. ds #[ \f1. ds #] \fP.\}.if t \{\. ds #H ((1u-(\\\\n(.fu%2u))*.13m). ds #V .6m. ds #F 0. ds #[ \&. ds #] \&.\}. \" simple accents for nroff and troff.if n \{\. ds ' \&. ds ` \&. ds ^ \&. ds , \&. ds ~ ~. ds /.\}.if t \{\. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u". ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}. \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E. \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'. \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\. ds : e. ds 8 ss. ds o a. ds d- d\h'-1'\(ga. ds D- D\h'-1'\(hy. ds th \o'bp'. ds Th \o'LP'. ds ae ae. ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "PERL572DELTA 1".TH PERL572DELTA 1 "2007-12-18" "perl v5.10.0" "Perl Programmers Reference Guide".\" For nroff, turn off justification. Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..if n .ad l.nh.SH "NAME"perl572delta \- what's new for perl v5.7.2.SH "DESCRIPTION".IX Header "DESCRIPTION"This document describes differences between the 5.7.1 release and the5.7.2 release..PP(To view the differences between the 5.6.0 release and the 5.7.0release, see perl570delta. To view the differences between the5.7.0 release and the 5.7.1 release, see perl571delta.).SH "Security Vulnerability Closed".IX Header "Security Vulnerability Closed"(This change was already made in 5.7.0 but bears repeating here.).PPA security vulnerability affecting all Perl versions prior to 5.6.1was found in August 2000. The vulnerability does not affect defaultinstallations and as far as is known affects only the Linux platform..PPYou should upgrade your Perl to 5.6.1 as soon as possible. Patchesfor earlier releases exist but using the patches require fullrecompilation from the source code anyway, so 5.6.1 is your bestchoice..PPSee http://www.cpan.org/src/5.0/sperl\-2000\-08\-05/sperl\-2000\-08\-05.txtfor more information..SH "Incompatible Changes".IX Header "Incompatible Changes".Sh "64\-bit platforms and malloc".IX Subsection "64-bit platforms and malloc"If your pointers are 64 bits wide, the Perl malloc is no more beingused because it simply does not work with 8\-byte pointers. Also,usually the system malloc on such platforms are much better optimizedfor such large memory models than the Perl malloc..Sh "\s-1AIX\s0 Dynaloading".IX Subsection "AIX Dynaloading"The \s-1AIX\s0 dynaloading now uses in \s-1AIX\s0 releases 4.3 and newer the nativedlopen interface of \s-1AIX\s0 instead of the old emulated interface. Thischange will probably break backward compatibility with compiledmodules. The change was made to make Perl more compliant with otherapplications like modperl which are using the \s-1AIX\s0 native interface..Sh "Socket Extension Dynamic in \s-1VMS\s0".IX Subsection "Socket Extension Dynamic in VMS"The Socket extension is now dynamically loaded instead of beingstatically built in. This may or may not be a problem with ancient\&\s-1TCP/IP\s0 stacks of \s-1VMS:\s0 we do not know since we weren't able to testPerl in such configurations..Sh "Different Definition of the Unicode Character Classes \ep{In...}".IX Subsection "Different Definition of the Unicode Character Classes p{In...}"As suggested by the Unicode consortium, the Unicode character classesnow prefer \fIscripts\fR as opposed to \fIblocks\fR (as defined by Unicode);in Perl, when the \f(CW\*(C`\ep{In....}\*(C'\fR and the \f(CW\*(C`\ep{In....}\*(C'\fR regular expressionconstructs are used. This has changed the definition of some of thosecharacter classes..PPThe difference between scripts and blocks is that scripts are theglyphs used by a language or a group of languages, while the blocksare more artificial groupings of 256 characters based on the Unicodenumbering..PPIn general this change results in more inclusive Unicode characterclasses, but changes to the other direction also do take place:for example while the script \f(CW\*(C`Latin\*(C'\fR includes all the Latincharacters and their various diacritic-adorned versions, itdoes not include the various punctuation or digits (since theyare not solely \f(CW\*(C`Latin\*(C'\fR)..PPChanges in the character class semantics may have happened if a scriptand a block happen to have the same name, for example \f(CW\*(C`Hebrew\*(C'\fR.In such cases the script wins and \f(CW\*(C`\ep{InHebrew}\*(C'\fR now means the scriptdefinition of Hebrew. The block definition in still available,though, by appending \f(CW\*(C`Block\*(C'\fR to the name: \f(CW\*(C`\ep{InHebrewBlock}\*(C'\fR meanswhat \f(CW\*(C`\ep{InHebrew}\*(C'\fR meant in perl 5.6.0. For the full listof affected character classes, see \*(L"Blocks\*(R" in perlunicode..Sh "Deprecations".IX Subsection "Deprecations"The current user-visible implementation of pseudo-hashes (the weirduse of the first array element) is deprecated starting from Perl 5.8.0and will be removed in Perl 5.10.0, and the feature will beimplemented differently. Not only is the current interface ratherugly, but the current implementation slows down normal array and hashuse quite noticeably. The \f(CW\*(C`fields\*(C'\fR pragma interface will remainavailable..PPThe syntaxes \f(CW\*(C`@a\->[...]\*(C'\fR and \f(CW\*(C`@h\->{...}\*(C'\fR have now been deprecated..PPThe suidperl is also considered to be too much a risk to continuemaintaining and the suidperl code is likely to be removed in a futurerelease..PPThe \f(CW\*(C`package;\*(C'\fR syntax (\f(CW\*(C`package\*(C'\fR without an argument has beendeprecated. Its semantics were never that clear and itsimplementation even less so. If you have used that feature todisallow all but fully qualified variables, \f(CW\*(C`use strict;\*(C'\fR instead..PPThe chdir(undef) and chdir('') behaviors to match \fIchdir()\fR has beendeprecated. In future versions, chdir(undef) and chdir('') willsimply fail..SH "Core Enhancements".IX Header "Core Enhancements"In general a lot of fixing has happened in the area of Perl'sunderstanding of numbers, both integer and floating point. Since inmany systems the standard number parsing functions like \f(CW\*(C`strtoul()\*(C'\fRand \f(CW\*(C`atof()\*(C'\fR seem to have bugs, Perl tries to work around theirdeficiencies. This results hopefully in more accurate numbers..IP "\(bu" 4The rules for allowing underscores (underbars) in numeric constantshave been relaxed and simplified: now you can have an underscore\&\fBbetween digits\fR..IP "\(bu" 4\&\s-1GMAGIC\s0 (right-hand side magic) could in many cases such as stringconcatenation be invoked too many times..IP "\(bu" 4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -