diff options
author | Joshua Pritikin <joshua.pritikin@db.com> | 1998-06-26 05:34:34 -0400 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-28 21:35:02 +0000 |
commit | d3acc0f7e51973106c8c51ff053cffc8bd402843 (patch) | |
tree | 00f1e3a5300571443c61a4ea0113c741c33431ca /perl.c | |
parent | ea7c11a37de2088ba174a077e567a01d0e73d0ca (diff) | |
download | perl-d3acc0f7e51973106c8c51ff053cffc8bd402843.tar.gz |
PUSHSTACK renovation
Message-Id: <H00000e500081d23@MHS>
p4raw-id: //depot/perl@1254
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1434,11 +1434,17 @@ perl_eval_pv(char *p, I32 croak_on_error) void perl_require_pv(char *pv) { - SV* sv = sv_newmortal(); + SV* sv; + dSP; + PUSHSTACKi(SI_REQUIRE); + PUTBACK; + sv = sv_newmortal(); sv_setpv(sv, "require '"); sv_catpv(sv, pv); sv_catpv(sv, "'"); perl_eval_sv(sv, G_DISCARD); + SPAGAIN; + POPSTACK; } void |