summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorMark-Jason Dominus <mjd@plover.com>2002-04-14 20:30:26 -0400
committerAbhijit Menon-Sen <ams@wiw.org>2002-04-15 04:21:14 +0000
commitd8c5566640fb9132fbfa47d3c76f472959a1dc29 (patch)
treea0b3d449351ae61540619c710fd0b96615ea9542 /perl.c
parent13368207c61bf85256527bd37792bbe86569946e (diff)
downloadperl-d8c5566640fb9132fbfa47d3c76f472959a1dc29.tar.gz
Re: [PATCH 5.7.3] Suppress warnings about @F when -a flag supplied
Message-Id: <20020415043026.11417.qmail@plover.com> p4raw-id: //depot/perl@15917
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 4c69293bb8..3da8a127c2 100644
--- a/perl.c
+++ b/perl.c
@@ -3472,6 +3472,10 @@ Perl_init_argv_symbols(pTHX_ register int argc, register char **argv)
(void)sv_utf8_decode(sv);
}
}
+
+ if (PL_minus_a) {
+ (void) get_av("main::F", TRUE | GV_ADDMULTI);
+ }
}
#ifdef HAS_PROCSELFEXE