From: Vincent Pit Date: Sat, 24 Jan 2009 11:55:59 +0000 (+0100) Subject: Explicitely say that unwind() restarts from the point it returns to, as this doesn... X-Git-Tag: v0.07~12 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=497aa4b64fd9dc0017c2929d9ce9e0a92453b02d;p=perl%2Fmodules%2FScope-Upper.git Explicitely say that unwind() restarts from the point it returns to, as this doesn't seem to be clear for everyone --- diff --git a/lib/Scope/Upper.pm b/lib/Scope/Upper.pm index fc3224e..f4ec2d5 100644 --- a/lib/Scope/Upper.pm +++ b/lib/Scope/Upper.pm @@ -169,7 +169,7 @@ C<$key> is ignored. =head2 C -Returns C<@values> I the context pointed by C<$context>, i.e. from the subroutine, eval or format just above C<$context>. +Returns C<@values> I the context pointed by C<$context>, i.e. from the subroutine, eval or format just above C<$context>, and immediately restart the program flow at this point - thus effectively returning to (or from, depending on how you see it) an upper context. The upper context isn't coerced onto C<@values>, which is hence always evaluated in list context. This means that