This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Warn for $[ ‘version’ checks
authorFather Chrysostomos <sprout@cpan.org>
Wed, 2 Nov 2011 01:25:59 +0000 (18:25 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 2 Nov 2011 01:50:41 +0000 (18:50 -0700)
commit89474f50ca76e8039d27bebe650de4addd0f1607
tree632f082b84885242697c056e45080356b11b76e4
parentbbdd8bad57f8d77a4e6c3725a49d4d3589efedd7
Warn for $[ ‘version’ checks

Following Michael Schwern’s suggestion, here is a warning for those
hapless folks who use $[ for version checks.

It applies whenever $[ is used in one of: < > <= >=
embed.h
op.c
opcode.h
pod/perldiag.pod
proto.h
regen/opcodes
t/lib/warnings/op