Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | .\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 |
2 | .\" | |
3 | .\" Standard preamble: | |
4 | .\" ======================================================================== | |
5 | .de Sh \" Subsection heading | |
6 | .br | |
7 | .if t .Sp | |
8 | .ne 5 | |
9 | .PP | |
10 | \fB\\$1\fR | |
11 | .PP | |
12 | .. | |
13 | .de Sp \" Vertical space (when we can't use .PP) | |
14 | .if t .sp .5v | |
15 | .if n .sp | |
16 | .. | |
17 | .de Vb \" Begin verbatim text | |
18 | .ft CW | |
19 | .nf | |
20 | .ne \\$1 | |
21 | .. | |
22 | .de Ve \" End verbatim text | |
23 | .ft R | |
24 | .fi | |
25 | .. | |
26 | .\" Set up some character translations and predefined strings. \*(-- will | |
27 | .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left | |
28 | .\" double quote, and \*(R" will give a right double quote. | will give a | |
29 | .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to | |
30 | .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' | |
31 | .\" expand to `' in nroff, nothing in troff, for use with C<>. | |
32 | .tr \(*W-|\(bv\*(Tr | |
33 | .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' | |
34 | .ie n \{\ | |
35 | . ds -- \(*W- | |
36 | . ds PI pi | |
37 | . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch | |
38 | . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch | |
39 | . ds L" "" | |
40 | . ds R" "" | |
41 | . ds C` "" | |
42 | . ds C' "" | |
43 | 'br\} | |
44 | .el\{\ | |
45 | . ds -- \|\(em\| | |
46 | . ds PI \(*p | |
47 | . ds L" `` | |
48 | . ds R" '' | |
49 | 'br\} | |
50 | .\" | |
51 | .\" If the F register is turned on, we'll generate index entries on stderr for | |
52 | .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index | |
53 | .\" entries marked with X<> in POD. Of course, you'll have to process the | |
54 | .\" output yourself in some meaningful fashion. | |
55 | .if \nF \{\ | |
56 | . de IX | |
57 | . tm Index:\\$1\t\\n%\t"\\$2" | |
58 | .. | |
59 | . nr % 0 | |
60 | . rr F | |
61 | .\} | |
62 | .\" | |
63 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes | |
64 | .\" way too many mistakes in technical documents. | |
65 | .hy 0 | |
66 | .if n .na | |
67 | .\" | |
68 | .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). | |
69 | .\" Fear. Run. Save yourself. No user-serviceable parts. | |
70 | . \" fudge factors for nroff and troff | |
71 | .if n \{\ | |
72 | . ds #H 0 | |
73 | . ds #V .8m | |
74 | . ds #F .3m | |
75 | . ds #[ \f1 | |
76 | . ds #] \fP | |
77 | .\} | |
78 | .if t \{\ | |
79 | . ds #H ((1u-(\\\\n(.fu%2u))*.13m) | |
80 | . ds #V .6m | |
81 | . ds #F 0 | |
82 | . ds #[ \& | |
83 | . ds #] \& | |
84 | .\} | |
85 | . \" simple accents for nroff and troff | |
86 | .if n \{\ | |
87 | . ds ' \& | |
88 | . ds ` \& | |
89 | . ds ^ \& | |
90 | . ds , \& | |
91 | . ds ~ ~ | |
92 | . ds / | |
93 | .\} | |
94 | .if t \{\ | |
95 | . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" | |
96 | . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' | |
97 | . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' | |
98 | . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' | |
99 | . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' | |
100 | . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' | |
101 | .\} | |
102 | . \" troff and (daisy-wheel) nroff accents | |
103 | .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' | |
104 | .ds 8 \h'\*(#H'\(*b\h'-\*(#H' | |
105 | .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] | |
106 | .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' | |
107 | .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' | |
108 | .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] | |
109 | .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] | |
110 | .ds ae a\h'-(\w'a'u*4/10)'e | |
111 | .ds Ae A\h'-(\w'A'u*4/10)'E | |
112 | . \" corrections for vroff | |
113 | .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' | |
114 | .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' | |
115 | . \" for low resolution devices (crt and lpr) | |
116 | .if \n(.H>23 .if \n(.V>19 \ | |
117 | \{\ | |
118 | . ds : e | |
119 | . ds 8 ss | |
120 | . ds o a | |
121 | . ds d- d\h'-1'\(ga | |
122 | . ds D- D\h'-1'\(hy | |
123 | . ds th \o'bp' | |
124 | . ds Th \o'LP' | |
125 | . ds ae ae | |
126 | . ds Ae AE | |
127 | .\} | |
128 | .rm #[ #] #H #V #F C | |
129 | .\" ======================================================================== | |
130 | .\" | |
131 | .IX Title "PERL584DELTA 1" | |
132 | .TH PERL584DELTA 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide" | |
133 | .SH "NAME" | |
134 | perl584delta \- what is new for perl v5.8.4 | |
135 | .SH "DESCRIPTION" | |
136 | .IX Header "DESCRIPTION" | |
137 | This document describes differences between the 5.8.3 release and | |
138 | the 5.8.4 release. | |
139 | .SH "Incompatible Changes" | |
140 | .IX Header "Incompatible Changes" | |
141 | Many minor bugs have been fixed. Scripts which happen to rely on previously | |
142 | erroneous behaviour will consider these fixes as incompatible changes :\-) | |
143 | You are advised to perform sufficient acceptance testing on this release | |
144 | to satisfy yourself that this does not affect you, before putting this | |
145 | release into production. | |
146 | .PP | |
147 | The diagnostic output of Carp has been changed slightly, to add a space after | |
148 | the comma between arguments. This makes it much easier for tools such as | |
149 | web browsers to wrap it, but might confuse any automatic tools which perform | |
150 | detailed parsing of Carp output. | |
151 | .PP | |
152 | The internal dump output has been improved, so that non-printable characters | |
153 | such as newline and backspace are output in \f(CW\*(C`\ex\*(C'\fR notation, rather than | |
154 | octal. This might just confuse non-robust tools which parse the output of | |
155 | modules such as Devel::Peek. | |
156 | .SH "Core Enhancements" | |
157 | .IX Header "Core Enhancements" | |
158 | .Sh "Malloc wrapping" | |
159 | .IX Subsection "Malloc wrapping" | |
160 | Perl can now be built to detect attempts to assign pathologically large chunks | |
161 | of memory. Previously such assignments would suffer from integer wrap-around | |
162 | during size calculations causing a misallocation, which would crash perl, and | |
163 | could theoretically be used for \*(L"stack smashing\*(R" attacks. The wrapping | |
164 | defaults to enabled on platforms where we know it works (most \s-1AIX\s0 | |
165 | configurations, BSDi, Darwin, \s-1DEC\s0 \s-1OSF/1\s0, FreeBSD, \s-1HP/UX\s0, \s-1GNU\s0 Linux, OpenBSD, | |
166 | Solaris, \s-1VMS\s0 and most Win32 compilers) and defaults to disabled on other | |
167 | platforms. | |
168 | .Sh "Unicode Character Database 4.0.1" | |
169 | .IX Subsection "Unicode Character Database 4.0.1" | |
170 | The copy of the Unicode Character Database included in Perl 5.8 has | |
171 | been updated to 4.0.1 from 4.0.0. | |
172 | .Sh "suidperl less insecure" | |
173 | .IX Subsection "suidperl less insecure" | |
174 | Paul Szabo has analysed and patched \f(CW\*(C`suidperl\*(C'\fR to remove existing known | |
175 | insecurities. Currently there are no known holes in \f(CW\*(C`suidperl\*(C'\fR, but previous | |
176 | experience shows that we cannot be confident that these were the last. You may | |
177 | no longer invoke the set uid perl directly, so to preserve backwards | |
178 | compatibility with scripts that invoke #!/usr/bin/suidperl the only set uid | |
179 | binary 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'\fR | |
180 | is 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 will | |
181 | invoke \f(CW\*(C`sperl5.8.4\*(C'\fR automatically the set uid binary, so this change should | |
182 | be completely transparent. | |
183 | .PP | |
184 | For new projects the core perl team would strongly recommend that you use | |
185 | dedicated, single purpose security tools such as \f(CW\*(C`sudo\*(C'\fR in preference to | |
186 | \&\f(CW\*(C`suidperl\*(C'\fR. | |
187 | .Sh "format" | |
188 | .IX Subsection "format" | |
189 | In addition to bug fixes, \f(CW\*(C`format\*(C'\fR's features have been enhanced. See | |
190 | perlform | |
191 | .SH "Modules and Pragmata" | |
192 | .IX Header "Modules and Pragmata" | |
193 | The (mis)use of \f(CW\*(C`/tmp\*(C'\fR in core modules and documentation has been tidied up. | |
194 | Some modules available both within the perl core and independently from \s-1CPAN\s0 | |
195 | (\*(L"dual\-life modules\*(R") have not yet had these changes applied; the changes | |
196 | will be integrated into future stable perl releases as the modules are | |
197 | updated on \s-1CPAN\s0. | |
198 | .Sh "Updated modules" | |
199 | .IX Subsection "Updated modules" | |
200 | .IP "Attribute::Handlers" 4 | |
201 | .IX Item "Attribute::Handlers" | |
202 | .PD 0 | |
203 | .IP "B" 4 | |
204 | .IX Item "B" | |
205 | .IP "Benchmark" 4 | |
206 | .IX Item "Benchmark" | |
207 | .IP "\s-1CGI\s0" 4 | |
208 | .IX Item "CGI" | |
209 | .IP "Carp" 4 | |
210 | .IX Item "Carp" | |
211 | .IP "Cwd" 4 | |
212 | .IX Item "Cwd" | |
213 | .IP "Exporter" 4 | |
214 | .IX Item "Exporter" | |
215 | .IP "File::Find" 4 | |
216 | .IX Item "File::Find" | |
217 | .IP "\s-1IO\s0" 4 | |
218 | .IX Item "IO" | |
219 | .IP "IPC::Open3" 4 | |
220 | .IX Item "IPC::Open3" | |
221 | .IP "Local::Maketext" 4 | |
222 | .IX Item "Local::Maketext" | |
223 | .IP "Math::BigFloat" 4 | |
224 | .IX Item "Math::BigFloat" | |
225 | .IP "Math::BigInt" 4 | |
226 | .IX Item "Math::BigInt" | |
227 | .IP "Math::BigRat" 4 | |
228 | .IX Item "Math::BigRat" | |
229 | .IP "MIME::Base64" 4 | |
230 | .IX Item "MIME::Base64" | |
231 | .IP "ODBM_File" 4 | |
232 | .IX Item "ODBM_File" | |
233 | .IP "\s-1POSIX\s0" 4 | |
234 | .IX Item "POSIX" | |
235 | .IP "Shell" 4 | |
236 | .IX Item "Shell" | |
237 | .IP "Socket" 4 | |
238 | .IX Item "Socket" | |
239 | .PD | |
240 | There is experimental support for Linux abstract Unix domain sockets. | |
241 | .IP "Storable" 4 | |
242 | .IX Item "Storable" | |
243 | .PD 0 | |
244 | .IP "Switch" 4 | |
245 | .IX Item "Switch" | |
246 | .PD | |
247 | Synced with its \s-1CPAN\s0 version 2.10 | |
248 | .IP "Sys::Syslog" 4 | |
249 | .IX Item "Sys::Syslog" | |
250 | \&\f(CW\*(C`syslog()\*(C'\fR can now use numeric constants for facility names and priorities, | |
251 | in addition to strings. | |
252 | .IP "Term::ANSIColor" 4 | |
253 | .IX Item "Term::ANSIColor" | |
254 | .PD 0 | |
255 | .IP "Time::HiRes" 4 | |
256 | .IX Item "Time::HiRes" | |
257 | .IP "Unicode::UCD" 4 | |
258 | .IX Item "Unicode::UCD" | |
259 | .IP "Win32" 4 | |
260 | .IX Item "Win32" | |
261 | .PD | |
262 | Win32.pm/Win32.xs has moved from the libwin32 module to core Perl | |
263 | .IP "base" 4 | |
264 | .IX Item "base" | |
265 | .PD 0 | |
266 | .IP "open" 4 | |
267 | .IX Item "open" | |
268 | .IP "threads" 4 | |
269 | .IX Item "threads" | |
270 | .PD | |
271 | Detached threads are now also supported on Windows. | |
272 | .IP "utf8" 4 | |
273 | .IX Item "utf8" | |
274 | .SH "Performance Enhancements" | |
275 | .IX Header "Performance Enhancements" | |
276 | .PD 0 | |
277 | .IP "\(bu" 4 | |
278 | .PD | |
279 | Accelerated Unicode case mappings (\f(CW\*(C`/i\*(C'\fR, \f(CW\*(C`lc\*(C'\fR, \f(CW\*(C`uc\*(C'\fR, etc). | |
280 | .IP "\(bu" 4 | |
281 | In place sort optimised (eg \f(CW\*(C`@a = sort @a\*(C'\fR) | |
282 | .IP "\(bu" 4 | |
283 | Unnecessary assignment optimised away in | |
284 | .Sp | |
285 | .Vb 3 | |
286 | \& my $s = undef; | |
287 | \& my @a = (); | |
288 | \& my %h = (); | |
289 | .Ve | |
290 | .IP "\(bu" 4 | |
291 | Optimised \f(CW\*(C`map\*(C'\fR in scalar context | |
292 | .SH "Utility Changes" | |
293 | .IX Header "Utility Changes" | |
294 | The Perl debugger (\fIlib/perl5db.pl\fR) can now save all debugger commands for | |
295 | sourcing later, and can display the parent inheritance tree of a given class. | |
296 | .SH "Installation and Configuration Improvements" | |
297 | .IX Header "Installation and Configuration Improvements" | |
298 | The build process on both \s-1VMS\s0 and Windows has had several minor improvements | |
299 | made. On Windows Borland's C compiler can now compile perl with PerlIO and/or | |
300 | \&\s-1USE_LARGE_FILES\s0 enabled. | |
301 | .PP | |
302 | \&\f(CW\*(C`perl.exe\*(C'\fR on Windows now has a \*(L"Camel\*(R" logo icon. The use of a camel with | |
303 | the topic of Perl is a trademark of O'Reilly and Associates Inc., and is used | |
304 | with their permission (ie distribution of the source, compiling a Windows | |
305 | executable from it, and using that executable locally). Use of the supplied | |
306 | camel for anything other than a perl executable's icon is specifically not | |
307 | covered, and anyone wishing to redistribute perl binaries \fIwith\fR the icon | |
308 | should check directly with O'Reilly beforehand. | |
309 | .PP | |
310 | Perl should build cleanly on Stratus \s-1VOS\s0 once more. | |
311 | .SH "Selected Bug Fixes" | |
312 | .IX Header "Selected Bug Fixes" | |
313 | 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 | |
314 | \&\f(CW\*(C`syswrite\*(C'\fR and interact with utf8 data. Concatenation now works correctly | |
315 | when \f(CW\*(C`use bytes;\*(C'\fR is in scope. | |
316 | .PP | |
317 | Pragmata are now correctly propagated into (?{...}) constructions in regexps. | |
318 | Code such as | |
319 | .PP | |
320 | .Vb 1 | |
321 | \& my $x = qr{ ... (??{ $x }) ... }; | |
322 | .Ve | |
323 | .PP | |
324 | will now (correctly) fail under use strict. (As the inner \f(CW$x\fR is and | |
325 | has always referred to \f(CW$::x\fR) | |
326 | .PP | |
327 | The \*(L"const in void context\*(R" warning has been suppressed for a constant in an | |
328 | optimised-away boolean expression such as \f(CW\*(C`5 || print;\*(C'\fR | |
329 | .PP | |
330 | \&\f(CW\*(C`perl \-i\*(C'\fR could \f(CW\*(C`fchmod(stdin)\*(C'\fR by mistake. This is serious if stdin is | |
331 | attached to a terminal, and perl is running as root. Now fixed. | |
332 | .SH "New or Changed Diagnostics" | |
333 | .IX Header "New or Changed Diagnostics" | |
334 | \&\f(CW\*(C`Carp\*(C'\fR and the internal diagnostic routines used by \f(CW\*(C`Devel::Peek\*(C'\fR have been | |
335 | made clearer, as described in \*(L"Incompatible Changes\*(R" | |
336 | .SH "Changed Internals" | |
337 | .IX Header "Changed Internals" | |
338 | Some bugs have been fixed in the hash internals. Restricted hashes and | |
339 | their place holders are now allocated and deleted at slightly different times, | |
340 | but this should not be visible to user code. | |
341 | .SH "Future Directions" | |
342 | .IX Header "Future Directions" | |
343 | Code freeze for the next maintenance release (5.8.5) will be on 30th June | |
344 | 2004, with release by mid July. | |
345 | .SH "Platform Specific Problems" | |
346 | .IX Header "Platform Specific Problems" | |
347 | This release is known not to build on Windows 95. | |
348 | .SH "Reporting Bugs" | |
349 | .IX Header "Reporting Bugs" | |
350 | If you find what you think is a bug, you might check the articles | |
351 | recently posted to the comp.lang.perl.misc newsgroup and the perl | |
352 | bug database at http://bugs.perl.org. There may also be | |
353 | information at http://www.perl.org, the Perl Home Page. | |
354 | .PP | |
355 | If you believe you have an unreported bug, please run the \fBperlbug\fR | |
356 | program included with your release. Be sure to trim your bug down | |
357 | to a tiny but sufficient test case. Your bug report, along with the | |
358 | output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to perlbug@perl.org to be | |
359 | analysed by the Perl porting team. You can browse and search | |
360 | the Perl 5 bugs at http://bugs.perl.org/ | |
361 | .SH "SEE ALSO" | |
362 | .IX Header "SEE ALSO" | |
363 | The \fIChanges\fR file for exhaustive details on what changed. | |
364 | .PP | |
365 | The \fI\s-1INSTALL\s0\fR file for how to build Perl. | |
366 | .PP | |
367 | The \fI\s-1README\s0\fR file for general stuff. | |
368 | .PP | |
369 | The \fIArtistic\fR and \fICopying\fR files for copyright information. |