X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FScope%2FUpper.pm;h=ad3f339cf3ff37d933c0d590c9dc318cefd96361;hb=c672756e32f272a25fc1464eee307708fb46538c;hp=34fe41fc26ad6d6c90d4ed6138250c61d0fdd7f8;hpb=9cc51a42b5f5145b3d1e9ed89435b5377ebdd5fe;p=perl%2Fmodules%2FScope-Upper.git
diff --git a/lib/Scope/Upper.pm b/lib/Scope/Upper.pm
index 34fe41f..ad3f339 100644
--- a/lib/Scope/Upper.pm
+++ b/lib/Scope/Upper.pm
@@ -149,7 +149,7 @@ return values immediately to an upper level with L, and know which cont
=item *
-execute a subroutine in the context of an upper subroutine stack frame with L.
+execute a subroutine in the setting of an upper subroutine stack frame with L.
=back
@@ -300,7 +300,7 @@ The code is executed in the context of the C call, and what it returns
}
my @inverses = target(1, 2, 4); # @inverses contains (0, 0.5, 0.25)
- my $count = target(1, 2, 4); # $target is 3
+ my $count = target(1, 2, 4); # $count is 3
L also implements a pure-Perl version of C.
Both are identical, with the following caveats :
@@ -336,7 +336,7 @@ will print "inner block: wut..." with L and "outer block: wut..."
=item *
-L globally overrides C, while L does not.
+L globally overrides the Perl keyword C, while L does not.
=back
@@ -463,7 +463,7 @@ Where L, L and L point to depending on the C<$cxt>:
...
# (*) Note that uplevel() will croak if you pass that scope frame,
- # because it can't target eval scopes.
+ # because it cannot target eval scopes.
=head1 EXPORT
@@ -530,13 +530,13 @@ L, L.
L, L, L, L.
+L.
+
L is a thin wrapper around L that gives you a continuation passing style interface to L.
It's easier to use, but it requires you to have control over the scope where you want to return.
L.
-L provides a pure-Perl implementation of L.
-
=head1 AUTHOR
Vincent Pit, C<< >>, L.