| 1 | =head1 NAME
|
|---|
| 2 |
|
|---|
| 3 | perl583delta - what is new for perl v5.8.3
|
|---|
| 4 |
|
|---|
| 5 | =head1 DESCRIPTION
|
|---|
| 6 |
|
|---|
| 7 | This document describes differences between the 5.8.2 release and
|
|---|
| 8 | the 5.8.3 release.
|
|---|
| 9 |
|
|---|
| 10 | If you are upgrading from an earlier release such as 5.6.1, first read
|
|---|
| 11 | the L<perl58delta>, which describes differences between 5.6.0 and
|
|---|
| 12 | 5.8.0, and the L<perl581delta> and L<perl582delta>, which describe differences
|
|---|
| 13 | between 5.8.0, 5.8.1 and 5.8.2
|
|---|
| 14 |
|
|---|
| 15 | =head1 Incompatible Changes
|
|---|
| 16 |
|
|---|
| 17 | There are no changes incompatible with 5.8.2.
|
|---|
| 18 |
|
|---|
| 19 | =head1 Core Enhancements
|
|---|
| 20 |
|
|---|
| 21 | A C<SCALAR> method is now available for tied hashes. This is called when
|
|---|
| 22 | a tied hash is used in scalar context, such as
|
|---|
| 23 |
|
|---|
| 24 | if (%tied_hash) {
|
|---|
| 25 | ...
|
|---|
| 26 | }
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | The old behaviour was that %tied_hash would return whatever would have been
|
|---|
| 30 | returned for that hash before the hash was tied (so usually 0). The new
|
|---|
| 31 | behaviour in the absence of a SCALAR method is to return TRUE if in the
|
|---|
| 32 | middle of an C<each> iteration, and otherwise call FIRSTKEY to check if the
|
|---|
| 33 | hash is empty (making sure that a subsequent C<each> will also begin by
|
|---|
| 34 | calling FIRSTKEY). Please see L<perltie/SCALAR> for the full details and
|
|---|
| 35 | caveats.
|
|---|
| 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
|
|---|
|
|---|