summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-09-28 03:49:48 +0200
committerFlorian Ragwitz <rafl@debian.org>2010-11-14 17:18:05 +0100
commit9ebf26ad4d30e289feeaec20ee238d6874f4b27e (patch)
tree5e692b55a003378e60185b463aadad3a2ecd85f1 /sv.c
parent24802a741468d87fdd5e986702d44cf3253b596f (diff)
downloadperl-9ebf26ad4d30e289feeaec20ee238d6874f4b27e.tar.gz
Add ${^GLOBAL_PHASE}
This exposes the current top-level interpreter phase to perl space.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index d72d176276..484b4021ef 100644
--- a/sv.c
+++ b/sv.c
@@ -13124,6 +13124,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
PL_in_eval = proto_perl->Iin_eval;
PL_delaymagic = proto_perl->Idelaymagic;
PL_dirty = proto_perl->Idirty;
+ PL_phase = proto_perl->Iphase;
PL_localizing = proto_perl->Ilocalizing;
PL_errors = sv_dup_inc(proto_perl->Ierrors, param);