develooper Front page | perl.perl5.porters | Postings from January 2004

Whither 5.6.3?

Thread Next
From:
Yitzchak Scott-Thoennes
Date:
January 25, 2004 18:27
Subject:
Whither 5.6.3?
Message ID:
20040126022651.GB1008@efn.org
Are there plans for integrating the 5.6.2 changes into 5.6.x and
preparing for a 5.6.3?  If so, I'd like to see this (from 5.8.0 and
onward) included, in case Dave (was it Dave?  Its been a while)
follows through on his mutterings about fixing this someday.

--- perl-5.6.2/pod/perlsyn.pod.orig	2003-07-30 07:32:51.000000000 -0700
+++ perl-5.6.2/pod/perlsyn.pod	2004-01-25 02:46:49.414512000 -0800
@@ -124,6 +124,13 @@
 	    } while $x++ <= $z;
     }
 
+B<NOTE:> The behaviour of a C<my> statement modified with a statement
+modifier conditional or loop construct (e.g. C<my $x if ...>) is
+B<undefined>.  The value of the C<my> variable may be C<undef>, any
+previously assigned value, or possibly anything else.  Don't rely on
+it.  Future versions of perl might do something different from the
+version of perl you try it out on.  Here be dragons.
+
 =head2 Compound statements
 
 In Perl, a sequence of statements that defines a scope is called a block.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About