]> 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 ebe24a1b1dc534754f43af4b1227704e7cff26b7..c40f1c8d48cf0515eb7c529bdc0b658250bed8c9 100644 (file)
@@ -520,8 +520,8 @@ 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 does not work reliably on perl 5.6 yet.
-An exception will be thrown to prevent you from doing so.
+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