diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-11-01 18:25:59 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-01 18:50:41 -0700 |
commit | 89474f50ca76e8039d27bebe650de4addd0f1607 (patch) | |
tree | 632f082b84885242697c056e45080356b11b76e4 /embed.h | |
parent | bbdd8bad57f8d77a4e6c3725a49d4d3589efedd7 (diff) | |
download | perl-89474f50ca76e8039d27bebe650de4addd0f1607.tar.gz |
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: < > <= >=
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -988,6 +988,7 @@ #define ck_anoncode(a) Perl_ck_anoncode(aTHX_ a) #define ck_bitop(a) Perl_ck_bitop(aTHX_ a) #define ck_chdir(a) Perl_ck_chdir(aTHX_ a) +#define ck_cmp(a) Perl_ck_cmp(aTHX_ a) #define ck_concat(a) Perl_ck_concat(aTHX_ a) #define ck_defined(a) Perl_ck_defined(aTHX_ a) #define ck_delete(a) Perl_ck_delete(aTHX_ a) |