in reply to Re: Re: Revisionism, Perl-Style
in thread Revisionism, Perl-Style

Looks like spaz has uncovered a bug in B::Deparse.
% perl -le 'print "a" =~ /a' -e '/x' 1 % perl -MO=Deparse -le 'print "a" =~ /a' -e '/x' -e syntax OK print 'a' =~ /a\n/x; % perl -le 'print "a" =~ /a\n/x' %
Oops!

(I'm taking advantage of the implicit newline for -e.)

Replies are listed 'Best First'.
Re:(5) Revisionism, Perl-Style
by MeowChow (Vicar) on Feb 03, 2001 at 02:18 UTC
    Good catch. AFAIK, B::Deparse is frought with bugs, as it is... I can rarely get it to deparse anything but the simplest Perl.
       MeowChow                                               
                    print $/='"',(`$^X\144oc $^X\146aq1`)[-2]