From 9d42615f7f5a30ad48e4ff99813aba1b9d033239 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Tue, 31 Jan 2012 23:41:24 -0300 Subject: [PATCH] perlsub: #109408 --- pod/perlsub.pod | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.7.4