diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-20 16:27:13 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-20 16:27:13 +0000 |
commit | afd1915d434259c875b8da032bfece22c20f714f (patch) | |
tree | df624cbff512b5e4277e03be7f0cf026f8efd77a /pp.c | |
parent | 14190b26cd9cfe4309de569863b29ab40645cfe0 (diff) | |
download | perl-afd1915d434259c875b8da032bfece22c20f714f.tar.gz |
autovivify open($fh[0],...) properly
p4raw-id: //depot/perl@5836
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ PP(pp_rv2gv) if (SvROK(sv)) goto wasref; } - if (!SvOK(sv)) { + if (!SvOK(sv) && sv != &PL_sv_undef) { /* If this is a 'my' scalar and flag is set then vivify * NI-S 1999/05/07 */ |