summaryrefslogtreecommitdiff
path: root/pod/perl588delta.pod
blob: 16082b5ed97d516987bd01b27c1581a50494fec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
=head1 NAME

perl588delta - what is new for perl v5.8.8

=head1 DESCRIPTION

This document describes differences between the 5.8.7 release and
the 5.8.8 release.

=head1 Incompatible Changes

There are no changes intentionally incompatible with 5.8.7. If any exist,
they are bugs and reports are welcome.

=head1 Core Enhancements

=over

=item *

C<chdir>, C<chmod> and C<chown> can now work on filehandles as well as
filenames, if the system supports respectively C<fchdir>, C<fchmod> and
C<fchown>, thanks to a patch provided by Gisle Aas.

=back

=head1 Modules and Pragmata

=over

=item *

C<Attribute::Handlers> upgraded to version 0.78_02

=over

=item *

Documentation typo fix

=back

=item *

C<attrs> upgraded to version 1.02

=over

=item *

Internal cleanup only

=back

=item *

C<autouse> upgraded to version 1.05

=over

=item *

Simplified implementation

=back

=item *

C<B> upgraded to version 1.09_01

=over

=item *

The inheritance hierarchy of the C<B::> modules has been corrected;
C<B::NV> now inherits from C<B::SV> (instead of C<B::IV>).

=back

=item *

C<blib> upgraded to version 1.03

=over

=item *

Documentation typo fix

=back

=item *

C<ByteLoader> upgraded to version 0.06

=over

=item *

Internal cleanup

=back

=item *

C<CGI> upgraded to version 3.15

=over

=item *

Extraneous "?" from C<self_url()> removed

=item *

C<scrolling_list()> select attribute fixed

=item *

C<virtual_port> now works properly with the https protocol

=item *

C<upload_hook()> and C<append()> now works in function-oriented mode

=item *

C<POST_MAX> doesn't cause the client to hang any more

=item *

Automatic tab indexes are now disabled and new C<-tabindex> pragma has
been added to turn automatic indexes back on

=item *

C<end_form()> doesn't emit empty (and non-validating) C<< <div> >>

=item *

C<CGI::Carp> works better in certain mod_perl configurations

=item *

Setting C<$CGI::TMPDIRECTORY> is now effective

=item *

Enhanced documentation

=back

=item *

C<charnames> upgraded to version 1.05

=over

=item *

C<viacode()> now accept hex strings and has been optimized.

=back

=item *

C<CPAN> upgraded to version 1.76_02

=over

=item *

1 minor bug fix for Win32

=back

=item *

C<Cwd> upgraded to version 3.12

=over

=item *

C<canonpath()> on Win32 now collapses F<foo\..> sections correctly.

=item *

Improved behaviour on Symbian OS.

=item *

Enhanced documentation and typo fixes

=item *

Internal cleanup

=back

=item *

C<Data::Dumper> upgraded to version 2.121_08

=over

=item *

A problem where C<Data::Dumper> would sometimes update the iterator state
of hashes has been fixed

=item *

Numeric labels now work

=item *

Internal cleanup

=back

=item *

C<DB> upgraded to version 1.01

=over

=item *

A problem where the state of the regexp engine would sometimes get clobbered when running
under the debugger has been fixed.

=back

=item *

C<DB_File> upgraded to version 1.814

=over

=item *

Adds support for Berkeley DB 4.4.

=back

=item *

C<Devel::DProf> upgraded to version 20050603.00

=over

=item *

Internal cleanup

=back

=item *

C<Devel::Peek> upgraded to version 1.03

=over

=item *

Internal cleanup

=back

=item *

C<Devel::PPPort> upgraded to version 3.06_01

=over

=item *

C<--compat-version> argument checking has been improved

=item *

Files passed on the command line are filtered by default

=item *

C<--nofilter> option to override the filtering has been added

=item *

Enhanced documentation

=back

=item *

C<diagnostics> upgraded to version 1.15

=over

=item *

Documentation typo fix

=back

=item *

C<Digest> upgraded to version 1.14

=over

=item *

The constructor now knows which module implements SHA-224

=item *

Documentation tweaks and typo fixes

=back

=item *

C<Digest::MD5> upgraded to version 2.36

=over

=item *

C<XSLoader> is now used for faster loading

=item *

Enhanced documentation including MD5 weaknesses discovered lately

=back

=item *

C<Dumpvalue> upgraded to version 1.12

=over

=item *

Documentation fix

=back

=item *

C<DynaLoader> upgraded but unfortunately we're not able to increment its version number :-(

=over

=item *

Implements C<dl_unload_file> on Win32

=item *

Internal cleanup

=item *

C<XSLoader> 0.06 incorporated; small optimisation for calling
C<bootstrap_inherit()> and documentation enhancements.

=back

=item *

C<Encode> upgraded to version 2.12

=over

=item *

A coderef is now acceptable for C<CHECK>!

=item *

3 new characters added to the ISO-8859-7 encoding

=item *

New encoding C<MIME-Header-ISO_2022_JP> added

=item *

Problem with partial characters and C<< encoding(utf-8-strict) >> fixed.

=item *

Documentation enhancements and typo fixes

=back

=item *

C<English> upgraded to version 1.02

=over

=item *

the C<< $COMPILING >> variable has been added

=back

=item *

C<ExtUtils::Constant> upgraded to version 0.17

=over

=item *

Improved compatibility with older versions of perl

=back

=item *

C<ExtUtils::MakeMaker> upgraded to version 6.30 (was 6.17)

=over

=item *

Too much to list here;  see L<http://search.cpan.org/dist/ExtUtils-MakeMaker/Changes>

=back

=item *

C<File::Basename> upgraded to version 2.74, with changes contributed by Michael Schwern.

=over

=item *

Documentation clarified and errors corrected.

=item *

C<basename> now strips trailing path separators before processing the name.

=item *

C<basename> now returns C</> for parameter C</>, to make C<basename>
consistent with the shell utility of the same name.

=item *

The suffix is no longer stripped if it is identical to the remaining characters
in the name, again for consistency with the shell utility.

=item *

Some internal code cleanup.

=back

=item *

C<File::Copy> upgraded to version 2.09

=over

=item *

Copying a file onto itself used to fail.

=item *

Moving a file between file systems now preserves the access and
modification time stamps

=back

=item *

C<File::Find> upgraded to version 1.10

=over

=item *

Win32 portability fixes

=item *

Enhanced documentation

=back

=item *

C<File::Glob> upgraded to version 1.05

=over

=item *

Internal cleanup

=back

=item *

C<File::Path> upgraded to version 1.08

=over

=item *

C<mkpath> now preserves C<errno> when C<mkdir> fails

=back

=item *

C<File::Spec> upgraded to version 3.12

=over

=item *

C<File::Spec->rootdir()> now returns C<\> on Win32, instead of C</>

=item *

C<$^O> could sometimes become tainted. This has been fixed.

=item *

C<canonpath> on Win32 now collapses C<foo/..> (or C<foo\..>) sections
correctly, rather than doing the "misguided" work it was previously doing.
Note that C<canonpath> on Unix still does B<not> collapse these sections, as
doing so would be incorrect.

=item *

Some documentation improvements

=item *

Some internal code cleanup

=back

=item *

C<FileCache> upgraded to version 1.06

=over

=item *

POD formatting errors in the documentation fixed

=back

=item *

C<Filter::Simple> upgraded to version 0.82

=item *

C<FindBin> upgraded to version 1.47

=over

=item *

Now works better with directories where access rights are more
restrictive than usual.

=back

=item *

C<GDBM_File> upgraded to version 1.08

=over

=item *

Internal cleanup

=back

=item *

C<Getopt::Long> upgraded to version 2.35

=over

=item *

C<prefix_pattern> has now been complemented by a new configuration
option C<long_prefix_pattern> that allows the user to specify what
prefix patterns should have long option style semantics applied.

=item *

Options can now take multiple values at once (experimental)

=item *

Various bug fixes

=back

=item *

C<if> upgraded to version 0.05

=over

=item *

Give more meaningful error messages from C<if> when invoked with a
condition in list context.

=item *

Restore backwards compatibility with earlier versions of perl

=back

=item *

C<IO> upgraded to version 1.22

=over

=item *

Enhanced documentation

=item *

Internal cleanup

=back

=item *

C<IPC::Open2> upgraded to version 1.02

=over

=item *

Enhanced documentation

=back

=item *

C<IPC::Open3> upgraded to version 1.02

=over

=item *

Enhanced documentation

=back

=item *

C<List::Util> upgraded to version 1.18 (was 1.14)

=over

=item *

Fix pure-perl version of C<refaddr> to avoid blessing an un-blessed reference

=item *

Use C<XSLoader> for faster loading

=item *

Fixed various memory leaks

=item *

Internal cleanup and portability fixes

=back

=item *

C<Math::Complex> upgraded to version 1.35

=over

=item *

C<atan2(0, i)> now works, as do all the (computable) complex argument cases

=item *

Fixes for certain bugs in C<make> and C<emake>

=item *

Support returning the I<k>th root directly

=item *

Support C<[2,-3pi/8]> in C<emake>

=item *

Support C<inf> for C<make>/C<emake>

=item *

Document C<make>/C<emake> more visibly

=back

=item *

C<Math::Trig> upgraded to version 1.03

=over

=item *

Add more great circle routines: C<great_circle_waypoint> and
C<great_circle_destination>

=back

=item *

C<MIME::Base64> upgraded to version 3.07

=over

=item *

Use C<XSLoader> for faster loading

=item *

Enhanced documentation

=item *

Internal cleanup

=back

=item *

C<NDBM_File> upgraded to version 1.06

=over

=item *

Enhanced documentation

=back

=item *

C<ODBM_File> upgraded to version 1.06

=over

=item *

Documentation typo fixed

=item *

Internal cleanup

=back

=item *

C<Opcode> upgraded to version 1.06

=over

=item *

Enhanced documentation

=item *

Internal cleanup

=back

=item *

C<open> upgraded to version 1.05

=over

=item *

Enhanced documentation

=back

=item *

C<overload> upgraded to version 1.04

=over

=item *

Enhanced documentation

=back

=item *

C<PerlIO> upgraded to version 1.04

=over

=item *

C<PerlIO::via> iterate over layers properly now

=item *

C<PerlIO::scalar> understands C<< $/ = "" >> now

=item *

C<encoding(utf-8-strict)> with partial characters now works

=item *

Enhanced documentation

=item *

Internal cleanup

=back

=item *

C<Pod::Functions> upgraded to version 1.03

=over

=item *

Documentation typos fixed

=back

=item *

C<Pod::Html> upgraded to version 1.0504

=over

=item *

HTML output will now correctly link
to C<=item>s on the same page, and should be valid XHTML.

=item *

Variable names are recognized as intended

=item *

Documentation typos fixed

=back

=item *

C<Pod::Parser> upgraded to version 1.32

=over

=item *

Allow files that start with C<=head> on the first line

=item *

Win32 portability fix

=item *

Exit status of C<pod2usage> fixed

=item *

New C<-noperldoc> switch for C<pod2usage>

=item *

Arbitrary URL schemes now allowed

=item *

Documentation typos fixed

=back

=item *

C<POSIX> upgraded to version 1.09

=over

=item *

Documentation typos fixed

=item *

Internal cleanup

=back

=item *

C<re> upgraded to version 0.05

=over

=item *

Documentation typo fixed

=back

=item *

C<Safe> upgraded to version 2.12

=over

=item *

Minor documentation enhancement

=back

=item *

C<SDBM_File> upgraded to version 1.05

=over

=item *

Documentation typo fixed

=item *

Internal cleanup

=back

=item *

C<Socket> upgraded to version 1.78

=over

=item *

Internal cleanup

=back

=item *

C<Storable> upgraded to version 2.15

=over

=item *

This includes the C<STORABLE_attach> hook functionality added by
Adam Kennedy, and more frugal memory requirements when storing under C<ithreads>, by
using the C<ithreads> cloning tracking code.

=back

=item *

C<Switch> upgraded to version 2.10_01

=over

=item *

Documentation typos fixed

=back

=item *

C<Sys::Syslog> upgraded to version 0.13

=over

=item *

Now provides numeric macros and meaningful C<Exporter> tags.

=item *

No longer uses C<Sys::Hostname> as it may provide useless values in
unconfigured network environments, so instead uses C<INADDR_LOOPBACK> directly.

=item *

C<syslog()> now uses local timestamp.

=item *

C<setlogmask()> now behaves like its C counterpart.

=item *

C<setlogsock()> will now C<croak()> as documented.

=item *

Improved error and warnings messages.

=item *

Improved documentation.

=back

=item *

C<Term::ANSIColor> upgraded to version 1.10

=over

=item *

Fixes a bug in C<colored> when C<$EACHLINE> is set that caused it to not color
lines consisting solely of 0 (literal zero).

=item *

Improved tests.

=back

=item *

C<Term::ReadLine> upgraded to version 1.02

=over

=item *

Documentation tweaks

=back

=item *

C<Test::Harness> upgraded to version 2.56 (was 2.48)

=over

=item *

The C<Test::Harness> timer is now off by default.

=item *

Now shows elapsed time in milliseconds.

=item *

Various bug fixes

=back

=item *

C<Test::Simple> upgraded to version 0.62 (was 0.54)

=over

=item *

C<is_deeply()> no longer fails to work for many cases

=item *

Various minor bug fixes

=item *

Documentation enhancements

=back

=item *

C<Text::Tabs> upgraded to version 2005.0824

=over

=item *

Provides a faster implementation of C<expand>

=back

=item *

C<Text::Wrap> upgraded to version 2005.082401

=over

=item *

Adds C<$Text::Wrap::separator2>, which allows you to preserve existing newlines
but add line-breaks with some other string.

=back

=item *

C<threads> upgraded to version 1.07

=over

=item *

C<threads> will now honour C<no warnings 'threads'>

=item *

A thread's interpreter is now freed after C<< $t->join() >> rather than after
C<undef $t>, which should fix some C<ithreads> memory leaks. (Fixed by Dave
Mitchell)

=item *

Some documentation typo fixes.

=back

=item *

C<threads::shared> upgraded to version 0.94

=over

=item *

Documentation changes only

=item *

Note: An improved implementation of C<threads::shared> is available on
CPAN - this will be merged into 5.8.9 if it proves stable.

=back

=item *

C<Tie::Hash> upgraded to version 1.02

=over

=item *

Documentation typo fixed

=back

=item *

C<Time::HiRes> upgraded to version 1.86 (was 1.66)

=over

=item *

C<clock_nanosleep()> and C<clock()> functions added

=item *

Support for the POSIX C<clock_gettime()> and C<clock_getres()> has been added

=item *

Return C<undef> or an empty list if the C C<gettimeofday()> function fails

=item *

Improved C<nanosleep> detection

=item *

Internal cleanup

=item *

Enhanced documentation

=back

=item *

C<Unicode::Collate> upgraded to version 0.52

=over

=item *

Now implements UCA Revision 14 (based on Unicode 4.1.0).

=item *

C<Unicode::Collate->new> method no longer overwrites user's C<$_>

=item *

Enhanced documentation

=back

=item *

C<Unicode::UCD> upgraded to version 0.24

=over

=item *

Documentation typos fixed

=back

=item *

C<User::grent> upgraded to version 1.01

=over

=item *

Documentation typo fixed

=back

=item *

C<utf8> upgraded to version 1.06

=over

=item *

Documentation typos fixed

=back

=item *

C<vmsish> upgraded to version 1.02

=over

=item *

Documentation typos fixed

=back

=item *

C<warnings> upgraded to version 1.05

=over

=item *

Gentler messing with C<Carp::> internals

=item *

Internal cleanup

=item *

Documentation update

=back

=item *

C<Win32> upgraded to version 0.2601

=for cynics And how many perl 5.8.x versions can I release ahead of Vista?

=over

=item *

Provides Windows Vista support to C<Win32::GetOSName>

=item *

Documentation enhancements

=back

=item *

C<XS::Typemap> upgraded to version 0.02

=over

=item *

Internal cleanup

=back

=back

=head1 Utility Changes

=head2 C<h2xs> enhancements

C<h2xs> implements new option C<--use-xsloader> to force use of
C<XSLoader> even in backwards compatible modules.

The handling of authors' names that had apostrophes has been fixed.

Any enums with negative values are now skipped.

=head2 C<perlivp> enhancements

C<perlivp> implements new option C<-a> and will not check for F<*.ph>
files by default any more.  Use the C<-a> option to run I<all> tests.

=head1 New Documentation

The L<perlglossary> manpage is a glossary of terms used in the Perl
documentation, technical and otherwise, kindly provided by O'Reilly Media,
inc.

=head1 Performance Enhancements

=over 4

=item *

Weak reference creation is now I<O(1)> rather than I<O(n)>, courtesy of
Nicholas Clark. Weak reference deletion remains I<O(n)>, but if deletion only
happens at program exit, it may be skipped completely.

=item *

Salvador FandiƱo provided improvements to reduce the memory usage of C<sort>
and to speed up some cases.

=item *

Jarkko Hietaniemi and Andy Lester worked to mark as much data as possible in
the C source files as C<static>, to increase the proportion of the executable
file that the operating system can share between process, and thus reduce
real memory usage on multi-user systems.

=back

=head1 Installation and Configuration Improvements

Parallel makes should work properly now, although there may still be problems
if C<make test> is instructed to run in parallel.

Building with Borland's compilers on Win32 should work more smoothly. In
particular Steve Hay has worked to side step many warnings emitted by their
compilers and at least one C compiler internal error.

C<Configure> will now detect C<clearenv> and C<unsetenv>, thanks to a patch
from Alan Burlison. It will also probe for C<futimes> and whether C<sprintf>
correctly returns the length of the formatted string, which will both be used
in perl 5.8.9.

There are improved hints for next-3.0, vmesa, IX, Darwin, Solaris, Linux,
DEC/OSF, HP-UX and MPE/iX

Perl extensions on Windows now can be statically built into the Perl DLL,
thanks to a work by Vadim Konovalov. (This improvement was actually in 5.8.7,
but was accidentally omitted from L<perl587delta>).

=head1 Selected Bug Fixes

=head2 no warnings 'category' works correctly with -w

Previously when running with warnings enabled globally via C<-w>, selective
disabling of specific warning categories would actually turn off all warnings.
This is now fixed; now C<no warnings 'io';> will only turn off warnings in the
C<io> class. Previously it would erroneously turn off all warnings.

This bug fix may cause some programs to start correctly issuing warnings.

=head2 Remove over-optimisation

Perl 5.8.4 introduced a change so that assignments of C<undef> to a
scalar, or of an empty list to an array or a hash, were optimised away. As
this could cause problems when C<goto> jumps were involved, this change
has been backed out.

=head2 sprintf() fixes

Using the sprintf() function with some formats could lead to a buffer
overflow in some specific cases. This has been fixed, along with several
other bugs, notably in bounds checking.

In related fixes, it was possible for badly written code that did not follow
the documentation of C<Sys::Syslog> to have formatting vulnerabilities.
C<Sys::Syslog> has been changed to protect people from poor quality third
party code.

=head2 Debugger and Unicode slowdown

It had been reported that running under perl's debugger when processing
Unicode data could cause unexpectedly large slowdowns. The most likely cause
of this was identified and fixed by Nicholas Clark.

=head2 Smaller fixes

=over 4

=item *

C<FindBin> now works better with directories where access rights are more
restrictive than usual.

=item *

Several memory leaks in ithreads were closed. An improved implementation of
C<threads::shared> is available on CPAN - this will be merged into 5.8.9 if
it proves stable.

=item *

Trailing spaces are now trimmed from C<$!> and C<$^E>.

=item *

Operations that require perl to read a process' list of groups, such as reads
of C<$(> and C<$)>, now dynamically allocate memory rather than using a
fixed sized array. The fixed size array could cause C stack exhaustion on
systems configured to use large numbers of groups.

=item *

C<PerlIO::scalar> now works better with non-default C<$/> settings.

=item *

You can now use the C<x> operator to repeat a C<qw//> list. This used
to raise a syntax error.

=item *

The debugger now traces correctly execution in eval("")uated code that
contains #line directives.

=item *

The value of the C<open> pragma is no longer ignored for three-argument
opens.

=item *

The optimisation of C<for (reverse @a)> introduced in perl 5.8.6 could
misbehave when the array had undefined elements and was used in LVALUE
context. Dave Mitchell provided a fix.

=item *

Some case insensitive matches between UTF-8 encoded data and 8 bit regexps,
and vice versa, could give malformed character warnings. These have been
fixed by Dave Mitchell and Yves Orton.

=item *

C<lcfirst> and C<ucfirst> could corrupt the string for certain cases where
the length UTF-8 encoding of the string in lower case, upper case or title
case differed. This was fixed by Nicholas Clark.

=item *

Perl will now use the C library calls C<unsetenv> and C<clearenv> if present
to delete keys from C<%ENV> and delete C<%ENV> entirely, thanks to a patch
from Alan Burlison.

=back

=head1 New or Changed Diagnostics

=head2 Attempt to set length of freed array

This is a new warning, produced in situations such as this:

    $r = do {my @a; \$#a};
    $$r = 503;

=head2 Non-string passed as bitmask

This is a new warning, produced when number has been passed as a argument to
select(), instead of a bitmask.

    # Wrong, will now warn
    $rin = fileno(STDIN);
    ($nfound,$timeleft) = select($rout=$rin, undef, undef, $timeout);
    
    # Should be
    $rin = '';
    vec($rin,fileno(STDIN),1) = 1;
    ($nfound,$timeleft) = select($rout=$rin, undef, undef, $timeout);

=head2 Search pattern not terminated or ternary operator parsed as search pattern

This syntax error indicates that the lexer couldn't find the final
delimiter of a C<?PATTERN?> construct. Mentioning the ternary operator in
this error message makes it easier to diagnose syntax errors.

=head1 Changed Internals

There has been a fair amount of refactoring of the C<C> source code, partly to
make it tidier and more maintainable. The resulting object code and the
C<perl> binary may well be smaller than 5.8.7, in particular due to a change
contributed by Dave Mitchell which reworked the warnings code to be
significantly smaller. Apart from being smaller and possibly faster, there
should be no user-detectable changes.

Andy Lester supplied many improvements to determine which function
parameters and local variables could actually be declared C<const> to the C
compiler. Steve Peters provided new C<*_set> macros and reworked the core to
use these rather than assigning to macros in LVALUE context.

Dave Mitchell improved the lexer debugging output under C<-DT>

Nicholas Clark changed the string buffer allocation so that it is now rounded
up to the next multiple of 4 (or 8 on platforms with 64 bit pointers). This
should reduce the number of calls to C<realloc> without actually using any
extra memory.

The C<HV>'s array of C<HE*>s is now allocated at the correct (minimal) size,
thanks to another change by Nicholas Clark. Compile with
C<-DPERL_USE_LARGE_HV_ALLOC> to use the old, sloppier, default.

For XS or embedding debugging purposes, if perl is compiled with
C<-DDEBUG_LEAKING_SCALARS_FORK_DUMP> in addition to
C<-DDEBUG_LEAKING_SCALARS> then a child process is C<fork>ed just before
global destruction, which is used to display the values of any scalars
found to have leaked at the end of global destruction. Without this, the
scalars have already been freed sufficiently at the point of detection that
it is impossible to produce any meaningful dump of their contents.  This
feature was implemented by the indefatigable Nicholas Clark, based on an idea
by Mike Giroux.

=head1 Platform Specific Problems

The optimiser on HP-UX 11.23 (Itanium 2) is currently partly disabled (scaled
down to +O1) when using HP C-ANSI-C; the cause of problems at higher
optimisation levels is still unclear.

There are a handful of remaining test failures on VMS, mostly due to
test fixes and minor module tweaks with too many dependencies to
integrate into this release from the development stream, where they have
all been corrected.  The following is a list of expected failures with
the patch number of the fix where that is known:

    ext/Devel/PPPort/t/ppphtest.t  #26913
    ext/List/Util/t/p_tainted.t    #26912
    lib/ExtUtils/t/PL_FILES.t      #26813
    lib/ExtUtils/t/basic.t         #26813
    t/io/fs.t
    t/op/cmp.t

=head1 Reporting Bugs

If you find what you think is a bug, you might check the articles
recently posted to the comp.lang.perl.misc newsgroup and the perl
bug database at http://bugs.perl.org.  There may also be
information at http://www.perl.org, the Perl Home Page.

If you believe you have an unreported bug, please run the B<perlbug>
program included with your release.  Be sure to trim your bug down
to a tiny but sufficient test case.  Your bug report, along with the
output of C<perl -V>, will be sent off to perlbug@perl.org to be
analysed by the Perl porting team.  You can browse and search
the Perl 5 bugs at http://bugs.perl.org/

=head1 SEE ALSO

The F<Changes> file for exhaustive details on what changed.

The F<INSTALL> file for how to build Perl.

The F<README> file for general stuff.

The F<Artistic> and F<Copying> files for copyright information.

=cut