summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorYitzchak Scott-Thoennes <sthoenna@efn.org>2006-06-06 15:24:46 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-06-07 08:33:35 +0000
commit7b8203e3be66f22041237ce6c371ea09ae857f20 (patch)
treecd73071a777c96f2363378c139a39abc70a86ede /gv.c
parentb9ac451d97da485ed458751b091ad58161889fca (diff)
downloadperl-7b8203e3be66f22041237ce6c371ea09ae857f20.tar.gz
exhausting <> in BEGIN{} gets ARGVOUT used only once warning
Message-ID: <20060607052446.GA3240@efn.org> p4raw-id: //depot/perl@28364
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gv.c b/gv.c
index 7d49b8398e..746b2bb35a 100644
--- a/gv.c
+++ b/gv.c
@@ -1002,6 +1002,9 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags,
if (strEQ(name2, "RGV")) {
IoFLAGS(GvIOn(gv)) |= IOf_ARGV|IOf_START;
}
+ else if (strEQ(name2, "RGVOUT")) {
+ GvMULTI_on(gv);
+ }
break;
case 'E':
if (strnEQ(name2, "XPORT", 5))