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 "PERL583DELTA 1" | |
132 | .TH PERL583DELTA 1 "2006-01-07" "perl v5.8.8" "Perl Programmers Reference Guide" | |
133 | .SH "NAME" | |
134 | perl583delta \- what is new for perl v5.8.3 | |
135 | .SH "DESCRIPTION" | |
136 | .IX Header "DESCRIPTION" | |
137 | This document describes differences between the 5.8.2 release and | |
138 | the 5.8.3 release. | |
139 | .PP | |
140 | If you are upgrading from an earlier release such as 5.6.1, first read | |
141 | the perl58delta, which describes differences between 5.6.0 and | |
142 | 5.8.0, and the perl581delta and perl582delta, which describe differences | |
143 | between 5.8.0, 5.8.1 and 5.8.2 | |
144 | .SH "Incompatible Changes" | |
145 | .IX Header "Incompatible Changes" | |
146 | There are no changes incompatible with 5.8.2. | |
147 | .SH "Core Enhancements" | |
148 | .IX Header "Core Enhancements" | |
149 | A \f(CW\*(C`SCALAR\*(C'\fR method is now available for tied hashes. This is called when | |
150 | a tied hash is used in scalar context, such as | |
151 | .PP | |
152 | .Vb 3 | |
153 | \& if (%tied_hash) { | |
154 | \& ... | |
155 | \& } | |
156 | .Ve | |
157 | .PP | |
158 | The old behaviour was that \f(CW%tied_hash\fR would return whatever would have been | |
159 | returned for that hash before the hash was tied (so usually 0). The new | |
160 | behaviour in the absence of a \s-1SCALAR\s0 method is to return \s-1TRUE\s0 if in the | |
161 | middle of an \f(CW\*(C`each\*(C'\fR iteration, and otherwise call \s-1FIRSTKEY\s0 to check if the | |
162 | hash is empty (making sure that a subsequent \f(CW\*(C`each\*(C'\fR will also begin by | |
163 | calling \s-1FIRSTKEY\s0). Please see \*(L"\s-1SCALAR\s0\*(R" in perltie for the full details and | |
164 | caveats. | |
165 | .SH "Modules and Pragmata" | |
166 | .IX Header "Modules and Pragmata" | |
167 | .IP "\s-1CGI\s0" 4 | |
168 | .IX Item "CGI" | |
169 | .PD 0 | |
170 | .IP "Cwd" 4 | |
171 | .IX Item "Cwd" | |
172 | .IP "Digest" 4 | |
173 | .IX Item "Digest" | |
174 | .IP "Digest::MD5" 4 | |
175 | .IX Item "Digest::MD5" | |
176 | .IP "Encode" 4 | |
177 | .IX Item "Encode" | |
178 | .IP "File::Spec" 4 | |
179 | .IX Item "File::Spec" | |
180 | .IP "FindBin" 4 | |
181 | .IX Item "FindBin" | |
182 | .PD | |
183 | A function \f(CW\*(C`again\*(C'\fR is provided to resolve problems where modules in different | |
184 | directories wish to use FindBin. | |
185 | .IP "List::Util" 4 | |
186 | .IX Item "List::Util" | |
187 | You can now weaken references to read only values. | |
188 | .IP "Math::BigInt" 4 | |
189 | .IX Item "Math::BigInt" | |
190 | .PD 0 | |
191 | .IP "PodParser" 4 | |
192 | .IX Item "PodParser" | |
193 | .IP "Pod::Perldoc" 4 | |
194 | .IX Item "Pod::Perldoc" | |
195 | .IP "\s-1POSIX\s0" 4 | |
196 | .IX Item "POSIX" | |
197 | .IP "Unicode::Collate" 4 | |
198 | .IX Item "Unicode::Collate" | |
199 | .IP "Unicode::Normalize" 4 | |
200 | .IX Item "Unicode::Normalize" | |
201 | .IP "Test::Harness" 4 | |
202 | .IX Item "Test::Harness" | |
203 | .IP "threads::shared" 4 | |
204 | .IX Item "threads::shared" | |
205 | .PD | |
206 | \&\f(CW\*(C`cond_wait\*(C'\fR has a new two argument form. \f(CW\*(C`cond_timedwait\*(C'\fR has been added. | |
207 | .SH "Utility Changes" | |
208 | .IX Header "Utility Changes" | |
209 | \&\f(CW\*(C`find2perl\*(C'\fR now assumes \f(CW\*(C`\-print\*(C'\fR as a default action. Previously, it | |
210 | needed to be specified explicitly. | |
211 | .PP | |
212 | A new utility, \f(CW\*(C`prove\*(C'\fR, makes it easy to run an individual regression test | |
213 | at the command line. \f(CW\*(C`prove\*(C'\fR is part of Test::Harness, which users of earlier | |
214 | Perl versions can install from \s-1CPAN\s0. | |
215 | .SH "New Documentation" | |
216 | .IX Header "New Documentation" | |
217 | The documentation has been revised in places to produce more standard manpages. | |
218 | .PP | |
219 | The documentation for the special code blocks (\s-1BEGIN\s0, \s-1CHECK\s0, \s-1INIT\s0, \s-1END\s0) | |
220 | has been improved. | |
221 | .SH "Installation and Configuration Improvements" | |
222 | .IX Header "Installation and Configuration Improvements" | |
223 | Perl now builds on OpenVMS I64 | |
224 | .SH "Selected Bug Fixes" | |
225 | .IX Header "Selected Bug Fixes" | |
226 | Using \fIsubstr()\fR on a \s-1UTF8\s0 string could cause subsequent accesses on that | |
227 | string to return garbage. This was due to incorrect \s-1UTF8\s0 offsets being | |
228 | cached, and is now fixed. | |
229 | .PP | |
230 | \&\fIjoin()\fR could return garbage when the same \fIjoin()\fR statement was used to | |
231 | process 8 bit data having earlier processed \s-1UTF8\s0 data, due to the flags | |
232 | on that statement's temporary workspace not being reset correctly. This | |
233 | is now fixed. | |
234 | .PP | |
235 | \&\f(CW\*(C`$a .. $b\*(C'\fR will now work as expected when either \f(CW$a\fR or \f(CW$b\fR is \f(CW\*(C`undef\*(C'\fR | |
236 | .PP | |
237 | Using Unicode keys with tied hashes should now work correctly. | |
238 | .PP | |
239 | Reading $^E now preserves $!. Previously, the C code implementing $^E | |
240 | did not preserve \f(CW\*(C`errno\*(C'\fR, so reading $^E could cause \f(CW\*(C`errno\*(C'\fR and therefore | |
241 | \&\f(CW$!\fR to change unexpectedly. | |
242 | .PP | |
243 | Reentrant functions will (once more) work with \*(C+. 5.8.2 introduced a bugfix | |
244 | which accidentally broke the compilation of Perl extensions written in \*(C+ | |
245 | .SH "New or Changed Diagnostics" | |
246 | .IX Header "New or Changed Diagnostics" | |
247 | The fatal error \*(L"\s-1DESTROY\s0 created new reference to dead object\*(R" is now | |
248 | documented in perldiag. | |
249 | .SH "Changed Internals" | |
250 | .IX Header "Changed Internals" | |
251 | The hash code has been refactored to reduce source duplication. The | |
252 | external interface is unchanged, and aside from the bug fixes described | |
253 | above, there should be no change in behaviour. | |
254 | .PP | |
255 | \&\f(CW\*(C`hv_clear_placeholders\*(C'\fR is now part of the perl \s-1API\s0 | |
256 | .PP | |
257 | Some C macros have been tidied. In particular macros which create temporary | |
258 | local variables now name these variables more defensively, which should | |
259 | avoid bugs where names clash. | |
260 | .PP | |
261 | <signal.h> is now always included. | |
262 | .SH "Configuration and Building" | |
263 | .IX Header "Configuration and Building" | |
264 | \&\f(CW\*(C`Configure\*(C'\fR now invokes callbacks regardless of the value of the variable | |
265 | they are called for. Previously callbacks were only invoked in the | |
266 | \&\f(CW\*(C`case $variable $define)\*(C'\fR branch. This change should only affect platform | |
267 | maintainers writing configuration hints files. | |
268 | .SH "Platform Specific Problems" | |
269 | .IX Header "Platform Specific Problems" | |
270 | The regression test ext/threads/shared/t/wait.t fails on early RedHat 9 | |
271 | and HP-UX 10.20 due to bugs in their threading implementations. | |
272 | RedHat users should see https://rhn.redhat.com/errata/RHBA\-2003\-136.html | |
273 | and consider upgrading their glibc. | |
274 | .SH "Known Problems" | |
275 | .IX Header "Known Problems" | |
276 | Detached threads aren't supported on Windows yet, as they may lead to | |
277 | memory access violation problems. | |
278 | .PP | |
279 | There is a known race condition opening scripts in \f(CW\*(C`suidperl\*(C'\fR. \f(CW\*(C`suidperl\*(C'\fR | |
280 | is neither built nor installed by default, and has been deprecated since | |
281 | perl 5.8.0. You are advised to replace use of suidperl with tools such | |
282 | as sudo ( http://www.courtesan.com/sudo/ ) | |
283 | .PP | |
284 | We have a backlog of unresolved bugs. Dealing with bugs and bug reports | |
285 | is unglamorous work; not something ideally suited to volunteer labour, | |
286 | but that is all that we have. | |
287 | .PP | |
288 | The perl5 development team are implementing changes to help address this | |
289 | problem, which should go live in early 2004. | |
290 | .SH "Future Directions" | |
291 | .IX Header "Future Directions" | |
292 | Code freeze for the next maintenance release (5.8.4) is on March 31st 2004, | |
293 | with release expected by mid April. Similarly 5.8.5's freeze will be at | |
294 | the end of June, with release by mid July. | |
295 | .SH "Obituary" | |
296 | .IX Header "Obituary" | |
297 | Iain 'Spoon' Truskett, Perl hacker, author of perlreref and | |
298 | contributor to \s-1CPAN\s0, died suddenly on 29th December 2003, aged 24. | |
299 | He will be missed. | |
300 | .SH "Reporting Bugs" | |
301 | .IX Header "Reporting Bugs" | |
302 | If you find what you think is a bug, you might check the articles | |
303 | recently posted to the comp.lang.perl.misc newsgroup and the perl | |
304 | bug database at http://bugs.perl.org. There may also be | |
305 | information at http://www.perl.org, the Perl Home Page. | |
306 | .PP | |
307 | If you believe you have an unreported bug, please run the \fBperlbug\fR | |
308 | program included with your release. Be sure to trim your bug down | |
309 | to a tiny but sufficient test case. Your bug report, along with the | |
310 | output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to perlbug@perl.org to be | |
311 | analysed by the Perl porting team. You can browse and search | |
312 | the Perl 5 bugs at http://bugs.perl.org/ | |
313 | .SH "SEE ALSO" | |
314 | .IX Header "SEE ALSO" | |
315 | The \fIChanges\fR file for exhaustive details on what changed. | |
316 | .PP | |
317 | The \fI\s-1INSTALL\s0\fR file for how to build Perl. | |
318 | .PP | |
319 | The \fI\s-1README\s0\fR file for general stuff. | |
320 | .PP | |
321 | The \fIArtistic\fR and \fICopying\fR files for copyright information. |