This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #77172] Deparse &{&} as &{&}, not &&
authorFather Chrysostomos <sprout@cpan.org>
Thu, 8 Dec 2011 22:35:27 +0000 (14:35 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 8 Dec 2011 22:35:27 +0000 (14:35 -0800)
commit1b38d782ea1355db1729183452181e75821f69b7
tree173a6205829c19d340f693b22f872c22f683f98e
parent7bc8c9795bd669fcf05bd4a08bed3b162e859ddb
[perl #77172] Deparse &{&} as &{&}, not &&

&& is always tokenised as the logical-and operator, and never as the
&{&} subroutine.  B::Deparse needs to know about this.

(Oddly enough, ** can be exponentiation or the *{*} glob.)
dist/B-Deparse/Deparse.pm
dist/B-Deparse/t/deparse.t