develooper Front page | perl.perl5.porters | Postings from April 2010

Re: fix package+label deparsing

Thread Previous | Thread Next
Frank Wiegand
April 30, 2010 00:20
Re: fix package+label deparsing
Message ID:
Am Freitag, den 30.04.2010, 00:06 +0100 schrieb Zefram:
> The attached patch fixes the package-related deparsing bug that was
> noticed in B::Deparse when discussing my package block patch.  The bug
> is pre-existing, and independent of the package block syntax.

I don't know if your patch was responsible, but now the bug noticed by

        % bleadperl -MO=Deparse -E 'foo:{ print 1 }'
        foo: BEGIN {
            $^H{'feature_say'} = q(1);
            $^H{'feature_state'} = q(1);
            $^H{'feature_switch'} = q(1);
            print 1;
        -e syntax OK

is fixed (and #68870 can be closed).

Thanks, Frank

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About