diff options
author | Matthew Horsfall (alh) <wolfsage@gmail.com> | 2011-11-16 23:06:33 -0500 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-18 17:46:21 -0800 |
commit | e508c8a4ba3a6febe681a5f59949b1d403b124bd (patch) | |
tree | bc1e0ac587fd09743c1e645c36bd889b4e334e1c /opcode.h | |
parent | 18f5643bfee3e4c35fe1b510ad2e37dcb28b9efc (diff) | |
download | perl-e508c8a4ba3a6febe681a5f59949b1d403b124bd.tar.gz |
Throw a helpful warning when someone tries length(@array) or length(%hash)
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1422,7 +1422,7 @@ EXT Perl_check_t PL_check[] /* or perlvars.h */ Perl_ck_fun, /* hex */ Perl_ck_fun, /* oct */ Perl_ck_fun, /* abs */ - Perl_ck_fun, /* length */ + Perl_ck_length, /* length */ Perl_ck_substr, /* substr */ Perl_ck_fun, /* vec */ Perl_ck_index, /* index */ |