summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-29 18:24:36 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-29 18:24:36 -0700
commit96db40ac3837bf348704634acdc080cf8e329c00 (patch)
tree9b89de91d478495bca0d9c3a1cc61894ab3a4e67 /gv.c
parentd6d78e19334f3abcd2eb659205839eb1295aacbf (diff)
downloadperl-96db40ac3837bf348704634acdc080cf8e329c00.tar.gz
&CORE::write()
This commit allows &CORE::write to be called through references and via ampersand syntax. No change to pp_enterwrite was necessary, as it can already handle nulls.
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 47518127ac..01d00d88da 100644
--- a/gv.c
+++ b/gv.c
@@ -1364,7 +1364,7 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags,
case KEY_system:
case KEY_truncate: case KEY_unlink:
case KEY_unshift:
- case KEY_values: case KEY_write:
+ case KEY_values:
ampable = FALSE;
}
if (ampable) {