diff options
author | Ruslan Zakirov <ruz@bestpractical.com> | 2012-10-08 02:41:06 +0400 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-12-11 08:59:39 -0800 |
commit | be1092b8b2529803333f6d1be2025b9af797f010 (patch) | |
tree | 8a545ab585d0e5dff5ee3a9e08464f61135e7b5d /pp_hot.c | |
parent | 3e125adaaf6d41df6a78e92e6682685224048aba (diff) | |
download | perl-be1092b8b2529803333f6d1be2025b9af797f010.tar.gz |
warn on ($s,%h) = (1,{}) as on %h = {}
Latter results in "Reference found where even-sized list expected"
message while former produces "Reference found where even-sized list
expected". Quite inconsistent.
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1124,7 +1124,7 @@ PP(pp_aassign) TAINT_NOT; } if (relem == lastrelem) { - do_oddball(hash, relem, firstrelem); + do_oddball(hash, relem, firsthashrelem); relem++; } LEAVE; |