From: Brian Fraser Date: Wed, 1 Feb 2012 02:41:24 +0000 (-0300) Subject: perlsub: #109408 X-Git-Tag: upstream/5.20.0~6225^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d42615f7f5a30ad48e4ff99813aba1b9d033239;p=platform%2Fupstream%2Fperl.git perlsub: #109408 --- diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 760e496..54441a0 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -451,7 +451,7 @@ if you want to stay compatible with releases older than 5.10. =head3 Persistent variables via state() -Beginning with Perl 5.9.4, you can declare variables with the C +Beginning with Perl 5.10.0, you can declare variables with the C keyword in place of C. For that to work, though, you must have enabled that feature beforehand, either by using the C pragma, or by using C<-E> on one-liners (see L). Beginning with Perl 5.16, @@ -616,7 +616,7 @@ This feature allows code like this to work : { local $/ = undef; $slurp = ; } Note, however, that this restricts localization of some values ; for -example, the following statement dies, as of perl 5.9.0, with an error +example, the following statement dies, as of perl 5.10.0, with an error I, because the $1 variable is magical and read-only : @@ -923,8 +923,7 @@ is done on dynamics: } # interruptibility automatically restored here -But it also works on lexically declared aggregates. Prior to 5.005, -this operation could on occasion misbehave. +But it also works on lexically declared aggregates. =back