📄 perl584delta.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 "PERL584DELTA 1".TH PERL584DELTA 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"perl584delta \- what is new for perl v5.8.4.SH "DESCRIPTION".IX Header "DESCRIPTION"This document describes differences between the 5.8.3 release andthe 5.8.4 release..SH "Incompatible Changes".IX Header "Incompatible Changes"Many minor bugs have been fixed. Scripts which happen to rely on previouslyerroneous behaviour will consider these fixes as incompatible changes :\-)You are advised to perform sufficient acceptance testing on this releaseto satisfy yourself that this does not affect you, before putting thisrelease into production..PPThe diagnostic output of Carp has been changed slightly, to add a space afterthe comma between arguments. This makes it much easier for tools such asweb browsers to wrap it, but might confuse any automatic tools which performdetailed parsing of Carp output..PPThe internal dump output has been improved, so that non-printable characterssuch as newline and backspace are output in \f(CW\*(C`\ex\*(C'\fR notation, rather thanoctal. This might just confuse non-robust tools which parse the output ofmodules such as Devel::Peek..SH "Core Enhancements".IX Header "Core Enhancements".Sh "Malloc wrapping".IX Subsection "Malloc wrapping"Perl can now be built to detect attempts to assign pathologically large chunksof memory. Previously such assignments would suffer from integer wrap-aroundduring size calculations causing a misallocation, which would crash perl, andcould theoretically be used for \*(L"stack smashing\*(R" attacks. The wrappingdefaults to enabled on platforms where we know it works (most \s-1AIX\s0configurations, BSDi, Darwin, \s-1DEC\s0 \s-1OSF/1\s0, FreeBSD, \s-1HP/UX\s0, \s-1GNU\s0 Linux, OpenBSD,Solaris, \s-1VMS\s0 and most Win32 compilers) and defaults to disabled on otherplatforms..Sh "Unicode Character Database 4.0.1".IX Subsection "Unicode Character Database 4.0.1"The copy of the Unicode Character Database included in Perl 5.8 hasbeen updated to 4.0.1 from 4.0.0..Sh "suidperl less insecure".IX Subsection "suidperl less insecure"Paul Szabo has analysed and patched \f(CW\*(C`suidperl\*(C'\fR to remove existing knowninsecurities. Currently there are no known holes in \f(CW\*(C`suidperl\*(C'\fR, but previousexperience shows that we cannot be confident that these were the last. You mayno longer invoke the set uid perl directly, so to preserve backwardscompatibility with scripts that invoke #!/usr/bin/suidperl the only set uidbinary is now \f(CW\*(C`sperl5.8.\*(C'\fR\fIn\fR (\f(CW\*(C`sperl5.8.4\*(C'\fR for this release). \f(CW\*(C`suidperl\*(C'\fRis installed as a hard link to \f(CW\*(C`perl\*(C'\fR; both \f(CW\*(C`suidperl\*(C'\fR and \f(CW\*(C`perl\*(C'\fR willinvoke \f(CW\*(C`sperl5.8.4\*(C'\fR automatically the set uid binary, so this change shouldbe completely transparent..PPFor new projects the core perl team would strongly recommend that you usededicated, single purpose security tools such as \f(CW\*(C`sudo\*(C'\fR in preference to\&\f(CW\*(C`suidperl\*(C'\fR..Sh "format".IX Subsection "format"In addition to bug fixes, \f(CW\*(C`format\*(C'\fR's features have been enhanced. Seeperlform.SH "Modules and Pragmata".IX Header "Modules and Pragmata"The (mis)use of \f(CW\*(C`/tmp\*(C'\fR in core modules and documentation has been tidied up.Some modules available both within the perl core and independently from \s-1CPAN\s0(\*(L"dual-life modules\*(R") have not yet had these changes applied; the changeswill be integrated into future stable perl releases as the modules areupdated on \s-1CPAN\s0..Sh "Updated modules".IX Subsection "Updated modules".IP "Attribute::Handlers" 4.IX Item "Attribute::Handlers".PD 0.IP "B" 4.IX Item "B".IP "Benchmark" 4.IX Item "Benchmark".IP "\s-1CGI\s0" 4.IX Item "CGI".IP "Carp" 4.IX Item "Carp".IP "Cwd" 4.IX Item "Cwd".IP "Exporter" 4.IX Item "Exporter".IP "File::Find" 4.IX Item "File::Find".IP "\s-1IO\s0" 4.IX Item "IO".IP "IPC::Open3" 4.IX Item "IPC::Open3".IP "Local::Maketext" 4.IX Item "Local::Maketext".IP "Math::BigFloat" 4.IX Item "Math::BigFloat".IP "Math::BigInt" 4.IX Item "Math::BigInt".IP "Math::BigRat" 4.IX Item "Math::BigRat".IP "MIME::Base64" 4.IX Item "MIME::Base64".IP "ODBM_File" 4.IX Item "ODBM_File".IP "\s-1POSIX\s0" 4.IX Item "POSIX".IP "Shell" 4.IX Item "Shell".IP "Socket" 4.IX Item "Socket".PDThere is experimental support for Linux abstract Unix domain sockets..IP "Storable" 4.IX Item "Storable".PD 0.IP "Switch" 4.IX Item "Switch".PDSynced with its \s-1CPAN\s0 version 2.10.IP "Sys::Syslog" 4.IX Item "Sys::Syslog"\&\f(CW\*(C`syslog()\*(C'\fR can now use numeric constants for facility names and priorities,in addition to strings..IP "Term::ANSIColor" 4.IX Item "Term::ANSIColor".PD 0.IP "Time::HiRes" 4.IX Item "Time::HiRes".IP "Unicode::UCD" 4.IX Item "Unicode::UCD".IP "Win32" 4.IX Item "Win32".PDWin32.pm/Win32.xs has moved from the libwin32 module to core Perl.IP "base" 4.IX Item "base".PD 0.IP "open" 4.IX Item "open".IP "threads" 4.IX Item "threads".PDDetached threads are now also supported on Windows..IP "utf8" 4.IX Item "utf8".SH "Performance Enhancements".IX Header "Performance Enhancements".PD 0.IP "\(bu" 4.PDAccelerated Unicode case mappings (\f(CW\*(C`/i\*(C'\fR, \f(CW\*(C`lc\*(C'\fR, \f(CW\*(C`uc\*(C'\fR, etc)..IP "\(bu" 4In place sort optimised (eg \f(CW\*(C`@a = sort @a\*(C'\fR).IP "\(bu" 4Unnecessary assignment optimised away in.Sp.Vb 3\& my $s = undef;\& my @a = ();\& my %h = ();.Ve.IP "\(bu" 4Optimised \f(CW\*(C`map\*(C'\fR in scalar context.SH "Utility Changes".IX Header "Utility Changes"The Perl debugger (\fIlib/perl5db.pl\fR) can now save all debugger commands forsourcing later, and can display the parent inheritance tree of a given class..SH "Installation and Configuration Improvements".IX Header "Installation and Configuration Improvements"The build process on both \s-1VMS\s0 and Windows has had several minor improvementsmade. On Windows Borland's C compiler can now compile perl with PerlIO and/or\&\s-1USE_LARGE_FILES\s0 enabled..PP\&\f(CW\*(C`perl.exe\*(C'\fR on Windows now has a \*(L"Camel\*(R" logo icon. The use of a camel withthe topic of Perl is a trademark of O'Reilly and Associates Inc., and is usedwith their permission (ie distribution of the source, compiling a Windowsexecutable from it, and using that executable locally). Use of the suppliedcamel for anything other than a perl executable's icon is specifically notcovered, and anyone wishing to redistribute perl binaries \fIwith\fR the iconshould check directly with O'Reilly beforehand..PPPerl should build cleanly on Stratus \s-1VOS\s0 once more..SH "Selected Bug Fixes".IX Header "Selected Bug Fixes"More utf8 bugs fixed, notably in how \f(CW\*(C`chomp\*(C'\fR, \f(CW\*(C`chop\*(C'\fR, \f(CW\*(C`send\*(C'\fR, and\&\f(CW\*(C`syswrite\*(C'\fR and interact with utf8 data. Concatenation now works correctlywhen \f(CW\*(C`use bytes;\*(C'\fR is in scope..PPPragmata are now correctly propagated into (?{...}) constructions in regexps.Code such as.PP.Vb 1\& my $x = qr{ ... (??{ $x }) ... };.Ve.PPwill now (correctly) fail under use strict. (As the inner \f(CW$x\fR is andhas always referred to \f(CW$::x\fR).PPThe \*(L"const in void context\*(R" warning has been suppressed for a constant in anoptimised-away boolean expression such as \f(CW\*(C`5 || print;\*(C'\fR.PP\&\f(CW\*(C`perl \-i\*(C'\fR could \f(CW\*(C`fchmod(stdin)\*(C'\fR by mistake. This is serious if stdin isattached to a terminal, and perl is running as root. Now fixed..SH "New or Changed Diagnostics".IX Header "New or Changed Diagnostics"\&\f(CW\*(C`Carp\*(C'\fR and the internal diagnostic routines used by \f(CW\*(C`Devel::Peek\*(C'\fR have beenmade clearer, as described in \*(L"Incompatible Changes\*(R".SH "Changed Internals".IX Header "Changed Internals"Some bugs have been fixed in the hash internals. Restricted hashes andtheir place holders are now allocated and deleted at slightly different times,but this should not be visible to user code..SH "Future Directions".IX Header "Future Directions"Code freeze for the next maintenance release (5.8.5) will be on 30th June2004, with release by mid July..SH "Platform Specific Problems".IX Header "Platform Specific Problems"This release is known not to build on Windows 95..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://bugs.perl.org. 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. You can browse and searchthe Perl 5 bugs at http://bugs.perl.org/.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 + -