]> git.vpit.fr Git - perl/modules/Scope-Upper.git/blobdiff - lib/Scope/Upper.pm
Fix goto &xsub in uplevel
[perl/modules/Scope-Upper.git] / lib / Scope / Upper.pm
index 189bc6c400d179a1148ef36e6b0824968e131d4e..c40f1c8d48cf0515eb7c529bdc0b658250bed8c9 100644 (file)
@@ -520,6 +520,9 @@ However, it's possible to hook the end of the current scope compilation with L<B
 Some rare oddities may still happen when running inside the debugger.
 It may help to use a perl higher than 5.8.9 or 5.10.0, as they contain some context-related fixes.
 
+Calling C<goto> to replace an L</uplevel>'d code frame does not work when a custom runloop is used or when debugging flags are set with C<perl -D>.
+In those two cases, L</uplevel> will look for a C<goto &sub> statement in its callback and, if there is one, throw an exception before executing the code.
+
 =head1 DEPENDENCIES
 
 L<XSLoader> (standard since perl 5.006).