This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for our declarations
authorFather Chrysostomos <sprout@cpan.org>
Thu, 16 Oct 2014 12:48:18 +0000 (05:48 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 16 Oct 2014 12:49:28 +0000 (05:49 -0700)
f5b5c2a Simplify double-nextstate optimisation
5afbd73 Elide our($foo) from execution order in void cx
8717a76 op.c: Null list and pushmark in void cx

pod/perldelta.pod

index f14f2f7..79f5220 100644 (file)
@@ -155,6 +155,12 @@ C<qq(@array)> is implemented using two ops: a stringify op and a join op.
 If the qq contains nothing but a single array, the stringification is
 optimised away.
 
+=item *
+
+C<our $var> and C<our($s,@a,%h)> in void context are no longer evaluated at
+run time.  Even a whole sequence of C<our $foo;> statements will simply be
+skipped over.
+
 =back
 
 =head1 Modules and Pragmata