diff options
author | Adrian M. Enache <enache@rdslink.ro> | 2003-07-08 23:47:58 +0300 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-08 17:39:49 +0000 |
commit | 6be89cf94680405f8f1461b8bee33f362ab7e905 (patch) | |
tree | 99dbf7a9eecdf9e1773cefcde4f3725afad55c34 | |
parent | 72c58aaf3b55c3daa0d6b841f9ea19a5581af438 (diff) | |
download | perl-6be89cf94680405f8f1461b8bee33f362ab7e905.tar.gz |
Re: [PATCH] $^VARIABLES in 'perl -Dt' output
Message-ID: <20030708174758.GA1177@ratsnest.hole>
(ByteLoader tweak avoiding a leaked scalar)
p4raw-id: //depot/perl@20076
-rw-r--r-- | op.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1829,8 +1829,11 @@ Perl_newPROG(pTHX_ OP *o) CALL_PEEP(PL_eval_start); } else { - if (o->op_type == OP_STUB) + if (o->op_type == OP_STUB) { + PL_comppad_name = 0; + PL_compcv = 0; return; + } PL_main_root = scope(sawparens(scalarvoid(o))); PL_curcop = &PL_compiling; PL_main_start = LINKLIST(PL_main_root); |