source: trunk/essentials/dev-lang/perl/pod/perl583delta.pod@ 3280

Last change on this file since 3280 was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 6.2 KB
Line 
1=head1 NAME
2
3perl583delta - what is new for perl v5.8.3
4
5=head1 DESCRIPTION
6
7This document describes differences between the 5.8.2 release and
8the 5.8.3 release.
9
10If you are upgrading from an earlier release such as 5.6.1, first read
11the L<perl58delta>, which describes differences between 5.6.0 and
125.8.0, and the L<perl581delta> and L<perl582delta>, which describe differences
13between 5.8.0, 5.8.1 and 5.8.2
14
15=head1 Incompatible Changes
16
17There are no changes incompatible with 5.8.2.
18
19=head1 Core Enhancements
20
21A C<SCALAR> method is now available for tied hashes. This is called when
22a tied hash is used in scalar context, such as
23
24 if (%tied_hash) {
25 ...
26 }
27
28
29The old behaviour was that %tied_hash would return whatever would have been
30returned for that hash before the hash was tied (so usually 0). The new
31behaviour in the absence of a SCALAR method is to return TRUE if in the
32middle of an C<each> iteration, and otherwise call FIRSTKEY to check if the
33hash is empty (making sure that a subsequent C<each> will also begin by
34calling FIRSTKEY). Please see L<perltie/SCALAR> for the full details and
35caveats.
36
37=head1 Modules and Pragmata
38
39=over 4
40
41=item CGI
42
43=item Cwd
44
45=item Digest
46
47=item Digest::MD5
48
49=item Encode
50
51=item File::Spec
52
53=item FindBin