This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't have to undef if it's never been assigned to.
[perl5.git] / perl.h
diff --git a/perl.h b/perl.h
index 423d264..4d20047 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -4720,6 +4720,7 @@ EXTCONST char PL_bincompat_options[];
 
 #ifndef PERL_SET_PHASE
 #  define PERL_SET_PHASE(new_phase) \
+    PHASE_CHANGE_PROBE(PL_phase_names[new_phase], PL_phase_names[PL_phase]); \
     PL_phase = new_phase;
 #endif