::ProhibitBitwiseOperators gets confused by spaces #9

Open
petdance opened this Issue Nov 15, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Owner

petdance commented Nov 15, 2013

The first one is fine, the second one complains.

my $ref;

$ref = \&foo;
&$ref;

$ref = \& foo;
&$ref;
Owner

petdance commented Jan 13, 2017

$ perl -MO=Deparse -e'$ref = \&foo'
$ref = \&foo;
-e syntax OK
$ perl -MO=Deparse -e'$ref = \& foo'
$ref = \&foo;
-e syntax OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment