On Tue Jun 28 02:20:08 2016, dolmen wrote: > Le Jeu 05 Jan 2012 06:12:10, zefram@fysh.org a écrit : > > Olivier Mengu?? wrote: > > >Workaround: force non-void parse context with '+': > > > > > >$ perl -MO=Deparse -e '+sub : lvalue { die; my $a }' > > >BEGIN { $^W = 1; } > > >sub : lvalue { > > > > Here's an actual bug: B::Deparse's output suffers the unintended > > interpretation. B::Deparse needs to be taught the workaround. > > I notice the B::Deparse bug is fixed in perl 5.24.0. > > $ perl -MO=Deparse -e '+sub :lvalue { die; my $a }' > +sub : lvalue { > die; > my $a; > } > ; > -e syntax OK > > > I would be interested to see the commit that fixed that. v5.21.5-218-g6b6b21d -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=107604Thread Next