diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-12-03 21:51:45 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-12-03 21:51:45 +0000 |
commit | 133706a6af5890d9737eb5c4dacb6252623311ea (patch) | |
tree | 9cfa88f97ca4f18c0a72ee7f852eb9feda593dfe /gv.c | |
parent | 7a1e2023d90d879c7a6110f7be3e3c6e22bddc33 (diff) | |
download | perl-133706a6af5890d9737eb5c4dacb6252623311ea.tar.gz |
$foo::_ was wrongly forced as $main::_.
Since we still want "our $_" to be always forced to $main::_,
deplace the forcing code at our-pad allocation time.
(Making execution probably a tiny bit faster)
p4raw-id: //depot/perl@23608
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -702,10 +702,6 @@ Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, I32 sv_type) } len = namend - name; - /* $_ should always be in main:: even when our'ed */ - if (*name == '_' && !name[1]) - stash = PL_defstash; - /* No stash in name, so see how we can default */ if (!stash) { |