summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-26 18:19:14 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-26 18:19:14 -0700
commit3e6568b4d097eff42dadf96c5f05b8b02fd9dc29 (patch)
treef023cfe4fe92cf0221ee606395d2845d660d7600 /gv.c
parent8258719730b59de406fa34e6a4bbcc71771803be (diff)
downloadperl-3e6568b4d097eff42dadf96c5f05b8b02fd9dc29.tar.gz
&CORE::open()
This commit allows &CORE::open to be called through references or with ampersand syntax. It modifies pp_coreargs not to push nulls for ops that require a pushmark.
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 de205a1ab8..ab47c560bd 100644
--- a/gv.c
+++ b/gv.c
@@ -1356,7 +1356,7 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags,
case KEY_each: case KEY_eof: case KEY_exec:
case KEY_keys:
case KEY_lstat:
- case KEY_open: case KEY_pop:
+ case KEY_pop:
case KEY_push: case KEY_rand: case KEY_read:
case KEY_recv: case KEY_reset:
case KEY_select: case KEY_send: