diff options
author | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-02-28 16:49:33 -0800 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-02-28 16:49:33 -0800 |
commit | a5f75d667838e8e7bb037880391f5c44476d33b4 (patch) | |
tree | 5005e888355c1508bc47da697efe119c1615b123 /pp.c | |
parent | 2920c5d2b358b11ace52104b6944bfa0e89256a7 (diff) | |
download | perl-a5f75d667838e8e7bb037880391f5c44476d33b4.tar.gz |
perl 5.002perl-5.002
[editor's note: changes seem to be mostly module updates,
documentation changes and some perl API macro additions]
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -132,7 +132,7 @@ PP(pp_rv2gv) if (op->op_flags & OPf_SPECIAL) { GvGP(sv)->gp_refcnt++; /* will soon be assigned */ - GvFLAGS(sv) |= GVf_INTRO; + GvINTRO_on(sv); } else { GP *gp; @@ -273,9 +273,8 @@ PP(pp_anoncode) CV* cv = (CV*)cSVOP->op_sv; EXTEND(SP,1); - if (SvFLAGS(cv) & SVpcv_CLONE) { + if (CvCLONE(cv)) cv = (CV*)sv_2mortal((SV*)cv_clone(cv)); - } PUSHs((SV*)cv); RETURN; |