📄 perl594delta.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 "PERL594DELTA 1".TH PERL594DELTA 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"perl594delta \- what is new for perl v5.9.4.SH "DESCRIPTION".IX Header "DESCRIPTION"This document describes differences between the 5.9.3 and the 5.9.4development releases. See perl590delta, perl591delta, perl592deltaand perl593delta for the differences between 5.8.0 and 5.9.3..SH "Incompatible Changes".IX Header "Incompatible Changes".Sh "chdir \s-1FOO\s0".IX Subsection "chdir FOO"A bareword argument to \fIchdir()\fR is now recognized as a file handle.Earlier releases interpreted the bareword as a directory name.(Gisle Aas).Sh "Handling of pmc files".IX Subsection "Handling of pmc files"An old feature of perl was that before \f(CW\*(C`require\*(C'\fR or \f(CW\*(C`use\*(C'\fR look for afile with a \fI.pm\fR extension, they will first look for a similar filenamewith a \fI.pmc\fR extension. If this file is found, it will be loaded inplace of any potentially existing file ending in a \fI.pm\fR extension..PPPreviously, \fI.pmc\fR files were loaded only if more recent than thematching \fI.pm\fR file. Starting with 5.9.4, they'll be always loaded ifthey exist. (This trick is used by Pugs.).Sh "@\- and @+ in patterns".IX Subsection "@- and @+ in patterns"The special arrays \f(CW\*(C`@\-\*(C'\fR and \f(CW\*(C`@+\*(C'\fR are no longer interpolated in regularexpressions. (Sadahiro Tomoyuki).ie n .Sh "$AUTOLOAD can now be tainted".el .Sh "\f(CW$AUTOLOAD\fP can now be tainted".IX Subsection "$AUTOLOAD can now be tainted"If you call a subroutine by a tainted name, and if it defers to an\&\s-1AUTOLOAD\s0 function, then \f(CW$AUTOLOAD\fR will be (correctly) tainted.(Rick Delaney).SH "Core Enhancements".IX Header "Core Enhancements".Sh "\fIstate()\fP variables".IX Subsection "state() variables"A new class of variables has been introduced. State variables are similarto \f(CW\*(C`my\*(C'\fR variables, but are declared with the \f(CW\*(C`state\*(C'\fR keyword in place of\&\f(CW\*(C`my\*(C'\fR. They're visible only in their lexical scope, but their value ispersistent: unlike \f(CW\*(C`my\*(C'\fR variables, they're not undefined at scope entry,but retain their previous value. (Rafael Garcia-Suarez).PPTo use state variables, one needs to enable them by using.PP.Vb 1\& use feature "state";.Ve.PPor by using the \f(CW\*(C`\-E\*(C'\fR command-line switch in one-liners..PPSee \*(L"Persistent variables via \fIstate()\fR\*(R" in perlsub..Sh "\s-1\fIUNIVERSAL::DOES\s0()\fP".IX Subsection "UNIVERSAL::DOES()"The \f(CW\*(C`UNIVERSAL\*(C'\fR class has a new method, \f(CW\*(C`DOES()\*(C'\fR. It has been added tosolve semantic problems with the \f(CW\*(C`isa()\*(C'\fR method. \f(CW\*(C`isa()\*(C'\fR checks forinheritance, while \f(CW\*(C`DOES()\*(C'\fR has been designed to be overridden whenmodule authors use other types of relations between classes (in additionto inheritance). (chromatic).PPSee \*(L"$obj\->\s-1DOES\s0( \s-1ROLE\s0 )\*(R" in \s-1UNIVERSAL\s0..Sh "Exceptions in constant folding".IX Subsection "Exceptions in constant folding"The constant folding routine is now wrapped in an exception handler, andif folding throws an exception (such as attempting to evaluate 0/0), perlnow retains the current optree, rather than aborting the whole program.(Nicholas Clark, Dave Mitchell).ie n .Sh "Source filters in @INC".el .Sh "Source filters in \f(CW@INC\fP".IX Subsection "Source filters in @INC"It's possible to enhance the mechanism of subroutine hooks in \f(CW@INC\fR byadding a source filter on top of the filehandle opened and returned by thehook. This feature was planned a long time ago, but wasn't quite workinguntil now. See \*(L"require\*(R" in perlfunc for details. (Nicholas Clark).Sh "\s-1MAD\s0".IX Subsection "MAD"\&\s-1MAD\s0, which stands for \fIMisc Attribute Decoration\fR, is astill-in-development work leading to a Perl 5 to Perl 6 converter. Toenable it, it's necessary to pass the argument \f(CW\*(C`\-Dmad\*(C'\fR to Configure. Theobtained perl isn't binary compatible with a regular perl 5.9.4, and hasspace and speed penalties; moreover not all regression tests still passwith it. (Larry Wall, Nicholas Clark).SH "Modules and Pragmas".IX Header "Modules and Pragmas".IP "\(bu" 4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -