summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-06-06 20:42:30 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-06-06 20:42:30 -0700
commite987ad1c31f774bda2a3a14929ae1fc88f759ccc (patch)
tree0c0e2fd6a99e474d83c76434659aa2610b3f68a3 /hv.c
parentb573e7000fd9c1cfae30ae5fb328a25b9bf3870a (diff)
downloadperl-e987ad1c31f774bda2a3a14929ae1fc88f759ccc.tar.gz
hv.c: Clarify uvar comment
It was not clear that it referred to uvar magic.
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index cbeed30faa..a2db86ac1d 100644
--- a/hv.c
+++ b/hv.c
@@ -750,7 +750,8 @@ Perl_hv_common(pTHX_ HV *hv, SV *keysv, const char *key, STRLEN klen,
recursive call would call the key conversion routine again.
However, as we replace the original key with the converted
key, this would result in a double conversion, which would show
- up as a bug if the conversion routine is not idempotent. */
+ up as a bug if the conversion routine is not idempotent.
+ Hence the use of HV_DISABLE_UVAR_XKEY. */
return hv_common(hv, keysv, key, klen, flags,
HV_FETCH_ISSTORE|HV_DISABLE_UVAR_XKEY|return_svp,
val, hash);