This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Unbreak -bareword under strict+integer
authorFather Chrysostomos <sprout@cpan.org>
Tue, 22 Oct 2013 12:36:38 +0000 (05:36 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 22 Oct 2013 12:37:22 +0000 (05:37 -0700)
commitfcbc518d7ac7875b7f443e72caf15fd07ab023a6
treef69413146c46be77fc9325454d34a8c83b6dfbc6
parentf4a01e9c853e04cc02be3ff0d7e4ecddd317b7a0
Unbreak -bareword under strict+integer

Commit 077da62ff9 was not supposed to change behaviour, but only
remove logic rendered unnecessary two commits earlier in 1c2b3fd6f10.

But the special stricture exception for negation was in the same func-
tion (S_op_integerize) which applied it to OP_NEGATE, but now needed
to apply it to OP_I_NEGATE, too.
op.c
t/op/negate.t