This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e125ad
)
warn on ($s,%h) = (1,{}) as on %h = {}
author
Ruslan Zakirov
<ruz@bestpractical.com>
Sun, 7 Oct 2012 22:41:06 +0000
(
02:41
+0400)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 11 Dec 2012 16:59:39 +0000
(08:59 -0800)
Latter results in "Reference found where even-sized list expected"
message while former produces "Reference found where even-sized list
expected". Quite inconsistent.
pp_hot.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_hot.c
b/pp_hot.c
index
510d62b
..
df93228
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-1124,7
+1124,7
@@
PP(pp_aassign)
TAINT_NOT;
}
if (relem == lastrelem) {
- do_oddball(hash, relem, firstrelem);
+ do_oddball(hash, relem, first
hash
relem);
relem++;
}
LEAVE;