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 "PERL587DELTA 1" | |
132 | .TH PERL587DELTA 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide" | |
133 | .SH "NAME" | |
134 | perldelta \- what is new for perl v5.8.7 | |
135 | .SH "DESCRIPTION" | |
136 | .IX Header "DESCRIPTION" | |
137 | This document describes differences between the 5.8.6 release and | |
138 | the 5.8.7 release. | |
139 | .SH "Incompatible Changes" | |
140 | .IX Header "Incompatible Changes" | |
141 | There are no changes incompatible with 5.8.6. | |
142 | .SH "Core Enhancements" | |
143 | .IX Header "Core Enhancements" | |
144 | .Sh "Unicode Character Database 4.1.0" | |
145 | .IX Subsection "Unicode Character Database 4.1.0" | |
146 | The copy of the Unicode Character Database included in Perl 5.8 has | |
147 | been updated to 4.1.0 from 4.0.1. See | |
148 | <http://www.unicode.org/versions/Unicode4.1.0/#NotableChanges> for the | |
149 | notable changes. | |
150 | .Sh "suidperl less insecure" | |
151 | .IX Subsection "suidperl less insecure" | |
152 | A pair of exploits in \f(CW\*(C`suidperl\*(C'\fR involving debugging code have been closed. | |
153 | .PP | |
154 | For new projects the core perl team strongly recommends that you use | |
155 | dedicated, single purpose security tools such as \f(CW\*(C`sudo\*(C'\fR in preference to | |
156 | \&\f(CW\*(C`suidperl\*(C'\fR. | |
157 | .Sh "Optional site customization script" | |
158 | .IX Subsection "Optional site customization script" | |
159 | The perl interpreter can be built to allow the use of a site customization | |
160 | script. By default this is not enabled, to be consistent with previous perl | |
161 | releases. To use this, add \f(CW\*(C`\-Dusesitecustomize\*(C'\fR to the command line flags | |
162 | when running the \f(CW\*(C`Configure\*(C'\fR script. See also \*(L"\-f\*(R" in perlrun. | |
163 | .ie n .Sh """Config.pm"" is now much smaller." | |
164 | .el .Sh "\f(CWConfig.pm\fP is now much smaller." | |
165 | .IX Subsection "Config.pm is now much smaller." | |
166 | \&\f(CW\*(C`Config.pm\*(C'\fR is now about 3K rather than 32K, with the infrequently used | |
167 | code and \f(CW%Config\fR values loaded on demand. This is transparent to the | |
168 | programmer, but means that most code will save parsing and loading 29K of | |
169 | script (for example, code that uses \f(CW\*(C`File::Find\*(C'\fR). | |
170 | .SH "Modules and Pragmata" | |
171 | .IX Header "Modules and Pragmata" | |
172 | .IP "\(bu" 4 | |
173 | B upgraded to version 1.09 | |
174 | .IP "\(bu" 4 | |
175 | base upgraded to version 2.07 | |
176 | .IP "\(bu" 4 | |
177 | bignum upgraded to version 0.17 | |
178 | .IP "\(bu" 4 | |
179 | bytes upgraded to version 1.02 | |
180 | .IP "\(bu" 4 | |
181 | Carp upgraded to version 1.04 | |
182 | .IP "\(bu" 4 | |
183 | \&\s-1CGI\s0 upgraded to version 3.10 | |
184 | .IP "\(bu" 4 | |
185 | Class::ISA upgraded to version 0.33 | |
186 | .IP "\(bu" 4 | |
187 | Data::Dumper upgraded to version 2.121_02 | |
188 | .IP "\(bu" 4 | |
189 | DB_File upgraded to version 1.811 | |
190 | .IP "\(bu" 4 | |
191 | Devel::PPPort upgraded to version 3.06 | |
192 | .IP "\(bu" 4 | |
193 | Digest upgraded to version 1.10 | |
194 | .IP "\(bu" 4 | |
195 | Encode upgraded to version 2.10 | |
196 | .IP "\(bu" 4 | |
197 | FileCache upgraded to version 1.05 | |
198 | .IP "\(bu" 4 | |
199 | File::Path upgraded to version 1.07 | |
200 | .IP "\(bu" 4 | |
201 | File::Temp upgraded to version 0.16 | |
202 | .IP "\(bu" 4 | |
203 | IO::File upgraded to version 1.11 | |
204 | .IP "\(bu" 4 | |
205 | IO::Socket upgraded to version 1.28 | |
206 | .IP "\(bu" 4 | |
207 | Math::BigInt upgraded to version 1.77 | |
208 | .IP "\(bu" 4 | |
209 | Math::BigRat upgraded to version 0.15 | |
210 | .IP "\(bu" 4 | |
211 | overload upgraded to version 1.03 | |
212 | .IP "\(bu" 4 | |
213 | PathTools upgraded to version 3.05 | |
214 | .IP "\(bu" 4 | |
215 | Pod::HTML upgraded to version 1.0503 | |
216 | .IP "\(bu" 4 | |
217 | Pod::Perldoc upgraded to version 3.14 | |
218 | .IP "\(bu" 4 | |
219 | Pod::LaTeX upgraded to version 0.58 | |
220 | .IP "\(bu" 4 | |
221 | Pod::Parser upgraded to version 1.30 | |
222 | .IP "\(bu" 4 | |
223 | Symbol upgraded to version 1.06 | |
224 | .IP "\(bu" 4 | |
225 | Term::ANSIColor upgraded to version 1.09 | |
226 | .IP "\(bu" 4 | |
227 | Test::Harness upgraded to version 2.48 | |
228 | .IP "\(bu" 4 | |
229 | Test::Simple upgraded to version 0.54 | |
230 | .IP "\(bu" 4 | |
231 | Text::Wrap upgraded to version 2001.09293, to fix a bug when \fIwrap()\fR was | |
232 | called with a non-space separator. | |
233 | .IP "\(bu" 4 | |
234 | threads::shared upgraded to version 0.93 | |
235 | .IP "\(bu" 4 | |
236 | Time::HiRes upgraded to version 1.66 | |
237 | .IP "\(bu" 4 | |
238 | Time::Local upgraded to version 1.11 | |
239 | .IP "\(bu" 4 | |
240 | Unicode::Normalize upgraded to version 0.32 | |
241 | .IP "\(bu" 4 | |
242 | utf8 upgraded to version 1.05 | |
243 | .IP "\(bu" 4 | |
244 | Win32 upgraded to version 0.24, which provides Win32::GetFileVersion | |
245 | .SH "Utility Changes" | |
246 | .IX Header "Utility Changes" | |
247 | .Sh "find2perl enhancements" | |
248 | .IX Subsection "find2perl enhancements" | |
249 | \&\f(CW\*(C`find2perl\*(C'\fR has new options \f(CW\*(C`\-iname\*(C'\fR, \f(CW\*(C`\-path\*(C'\fR and \f(CW\*(C`\-ipath\*(C'\fR. | |
250 | .SH "Performance Enhancements" | |
251 | .IX Header "Performance Enhancements" | |
252 | The internal pointer mapping hash used during ithreads cloning now uses an | |
253 | arena for memory allocation. In tests this reduced ithreads cloning time by | |
254 | about 10%. | |
255 | .SH "Installation and Configuration Improvements" | |
256 | .IX Header "Installation and Configuration Improvements" | |
257 | .IP "\(bu" 4 | |
258 | The Win32 \*(L"dmake\*(R" makefile.mk has been updated to make it compatible | |
259 | with the latest versions of dmake. | |
260 | .IP "\(bu" 4 | |
261 | \&\f(CW\*(C`PERL_MALLOC\*(C'\fR, \f(CW\*(C`DEBUG_MSTATS\*(C'\fR, \f(CW\*(C`PERL_HASH_SEED_EXPLICIT\*(C'\fR and \f(CW\*(C`NO_HASH_SEED\*(C'\fR | |
262 | should now work in Win32 makefiles. | |
263 | .SH "Selected Bug Fixes" | |
264 | .IX Header "Selected Bug Fixes" | |
265 | .IP "\(bu" 4 | |
266 | The \fIsocket()\fR function on Win32 has been fixed so that it is able to use | |
267 | transport providers which specify a protocol of 0 (meaning any protocol | |
268 | is allowed) once more. (This was broken in 5.8.6, and typically caused | |
269 | the use of \s-1ICMP\s0 sockets to fail.) | |
270 | .IP "\(bu" 4 | |
271 | Another obscure bug involving \f(CW\*(C`substr\*(C'\fR and \s-1UTF\-8\s0 caused by bad internal | |
272 | offset caching has been identified and fixed. | |
273 | .IP "\(bu" 4 | |
274 | A bug involving the loading of \s-1UTF\-8\s0 tables by the regexp engine has been | |
275 | fixed \- code such as \f(CW\*(C`"\ex{100}" =~ /[[:print:]]/\*(C'\fR will no longer give | |
276 | corrupt results. | |
277 | .IP "\(bu" 4 | |
278 | Case conversion operations such as \f(CW\*(C`uc\*(C'\fR on a long Unicode string could | |
279 | exhaust memory. This has been fixed. | |
280 | .IP "\(bu" 4 | |
281 | \&\f(CW\*(C`index\*(C'\fR/\f(CW\*(C`rindex\*(C'\fR were buggy for some combinations of Unicode and | |
282 | non-Unicode data. This has been fixed. | |
283 | .IP "\(bu" 4 | |
284 | \&\f(CW\*(C`read\*(C'\fR (and presumably \f(CW\*(C`sysread\*(C'\fR) would expose the \s-1UTF\-8\s0 internals when | |
285 | reading from a byte oriented file handle into a \s-1UTF\-8\s0 scalar. This has | |
286 | been fixed. | |
287 | .IP "\(bu" 4 | |
288 | Several \f(CW\*(C`pack\*(C'\fR/\f(CW\*(C`unpack\*(C'\fR bug fixes: | |
289 | .RS 4 | |
290 | .IP "\(bu" 4 | |
291 | Checksums with \f(CW\*(C`b\*(C'\fR or \f(CW\*(C`B\*(C'\fR formats were broken. | |
292 | .IP "\(bu" 4 | |
293 | \&\f(CW\*(C`unpack\*(C'\fR checksums could overflow with the \f(CW\*(C`C\*(C'\fR format. | |
294 | .IP "\(bu" 4 | |
295 | \&\f(CW\*(C`U0\*(C'\fR and \f(CW\*(C`C0\*(C'\fR are now scoped to \f(CW\*(C`()\*(C'\fR \f(CW\*(C`pack\*(C'\fR sub\-templates. | |
296 | .IP "\(bu" 4 | |
297 | Counted length prefixes now don't change \f(CW\*(C`C0\*(C'\fR/\f(CW\*(C`U0\*(C'\fR mode. | |
298 | .IP "\(bu" 4 | |
299 | \&\f(CW\*(C`pack\*(C'\fR \f(CW\*(C`Z0\*(C'\fR used to destroy the preceding character. | |
300 | .IP "\(bu" 4 | |
301 | \&\f(CW\*(C`P\*(C'\fR/\f(CW\*(C`p\*(C'\fR \f(CW\*(C`pack\*(C'\fR formats used to only recognise literal \f(CW\*(C`undef\*(C'\fR | |
302 | .RE | |
303 | .RS 4 | |
304 | .RE | |
305 | .IP "\(bu" 4 | |
306 | Using closures with ithreads could cause perl to crash. This was due to | |
307 | failure to correctly lock internal \s-1OP\s0 structures, and has been fixed. | |
308 | .IP "\(bu" 4 | |
309 | The return value of \f(CW\*(C`close\*(C'\fR now correctly reflects any file errors that | |
310 | occur while flushing the handle's data, instead of just giving failure if | |
311 | the actual underlying file close operation failed. | |
312 | .IP "\(bu" 4 | |
313 | \&\f(CW\*(C`not() || 1\*(C'\fR used to segfault. \f(CW\*(C`not()\*(C'\fR now behaves like \f(CWnot(0)\fR, which was | |
314 | the pre 5.6.0 behaviour. | |
315 | .IP "\(bu" 4 | |
316 | \&\f(CW\*(C`h2ph\*(C'\fR has various enhancements to cope with constructs in header files that | |
317 | used to result in incorrect or invalid output. | |
318 | .SH "New or Changed Diagnostics" | |
319 | .IX Header "New or Changed Diagnostics" | |
320 | There is a new taint error, \*(L"%ENV is aliased to \f(CW%s\fR\*(R". This error is thrown | |
321 | when taint checks are enabled and when \f(CW*ENV\fR has been aliased, so that | |
322 | \&\f(CW%ENV\fR has no env-magic anymore and hence the environment cannot be verified | |
323 | as taint\-free. | |
324 | .PP | |
325 | The internals of \f(CW\*(C`pack\*(C'\fR and \f(CW\*(C`unpack\*(C'\fR have been updated. All legitimate | |
326 | templates should work as before, but there may be some changes in the error | |
327 | reported for complex failure cases. Any behaviour changes for non-error cases | |
328 | are bugs, and should be reported. | |
329 | .SH "Changed Internals" | |
330 | .IX Header "Changed Internals" | |
331 | There has been a fair amount of refactoring of the \f(CW\*(C`C\*(C'\fR source code, partly to | |
332 | make it tidier and more maintainable. The resulting object code and the | |
333 | \&\f(CW\*(C`perl\*(C'\fR binary may well be smaller than 5.8.6, and hopefully faster in some | |
334 | cases, but apart from this there should be no user-detectable changes. | |
335 | .PP | |
336 | \&\f(CW\*(C`${^UTF8LOCALE}\*(C'\fR has been added to give perl space access to \f(CW\*(C`PL_utf8locale\*(C'\fR. | |
337 | .PP | |
338 | The size of the arenas used to allocate \s-1SV\s0 heads and most \s-1SV\s0 bodies can now | |
339 | be changed at compile time. The old size was 1008 bytes, the new default size | |
340 | is 4080 bytes. | |
341 | .SH "Known Problems" | |
342 | .IX Header "Known Problems" | |
343 | Unicode strings returned from overloaded operators can be buggy. This is a | |
344 | long standing bug reported since 5.8.6 was released, but we do not yet have | |
345 | a suitable fix for it. | |
346 | .SH "Platform Specific Problems" | |
347 | .IX Header "Platform Specific Problems" | |
348 | On \s-1UNICOS\s0, lib/Math/BigInt/t/bigintc.t hangs burning \s-1CPU\s0. | |
349 | ext/B/t/bytecode.t and ext/Socket/t/socketpair.t both fail tests. | |
350 | These are unlikely to be resolved, as our valiant \s-1UNICOS\s0 porter's last | |
351 | Cray is being decommissioned. | |
352 | .SH "Reporting Bugs" | |
353 | .IX Header "Reporting Bugs" | |
354 | If you find what you think is a bug, you might check the articles | |
355 | recently posted to the comp.lang.perl.misc newsgroup and the perl | |
356 | bug database at http://bugs.perl.org. There may also be | |
357 | information at http://www.perl.org, the Perl Home Page. | |
358 | .PP | |
359 | If you believe you have an unreported bug, please run the \fBperlbug\fR | |
360 | program included with your release. Be sure to trim your bug down | |
361 | to a tiny but sufficient test case. Your bug report, along with the | |
362 | output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to perlbug@perl.org to be | |
363 | analysed by the Perl porting team. You can browse and search | |
364 | the Perl 5 bugs at http://bugs.perl.org/ | |
365 | .SH "SEE ALSO" | |
366 | .IX Header "SEE ALSO" | |
367 | The \fIChanges\fR file for exhaustive details on what changed. | |
368 | .PP | |
369 | The \fI\s-1INSTALL\s0\fR file for how to build Perl. | |
370 | .PP | |
371 | The \fI\s-1README\s0\fR file for general stuff. | |
372 | .PP | |
373 | The \fIArtistic\fR and \fICopying\fR files for copyright information. |