From: Brian Fraser Date: Wed, 1 Feb 2012 02:38:03 +0000 (-0300) Subject: perldata: #109408 X-Git-Tag: upstream/5.20.0~6225^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0568eccda3e550f0e4e821d702e2bd967f33bc7a;p=platform%2Fupstream%2Fperl.git perldata: #109408 --- diff --git a/pod/perldata.pod b/pod/perldata.pod index c89b675..3a4776c 100644 --- a/pod/perldata.pod +++ b/pod/perldata.pod @@ -232,8 +232,7 @@ which is a different value since there is ordinarily a 0th element. Assigning to C<$#days> actually changes the length of the array. Shortening an array this way destroys intervening values. Lengthening an array that was previously shortened does not recover values -that were in those elements. (It used to do so in Perl 4, but we -had to break this to make sure destructors were called when expected.) +that were in those elements. X<$#> X You can also gain some minuscule measure of efficiency by pre-extending