X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FScope%2FContext.pm;h=fbe115bdff5c1199f030fb064b59f82d6fcbe7ac;hb=22cad1bc4b5f4acb14860f34ad02c95f9c5a679d;hp=c57a83039b40dd26f80a3f79ad9f38c79afed509;hpb=0b046fc960c23b5e70852a3c19979a729e7361a7;p=perl%2Fmodules%2FScope-Context.git diff --git a/lib/Scope/Context.pm b/lib/Scope/Context.pm index c57a830..fbe115b 100644 --- a/lib/Scope/Context.pm +++ b/lib/Scope/Context.pm @@ -447,7 +447,7 @@ sub eval { $cxt->reap($code); -Execute C<$code> when the scope pointed by the invocant ends. +Executes C<$code> when the scope pointed by the invocant ends. See L for details. @@ -465,7 +465,7 @@ sub reap { $cxt->localize($what, $value); -Localize the variable described by C<$what> to the value C<$value> when the control flow returns to the scope pointed by the invocant. +Localizes the variable described by C<$what> to the value C<$value> when the control flow returns to the scope pointed by the invocant, until said scope ends. See L for details. @@ -483,7 +483,7 @@ sub localize { $cxt->localize_elem($what, $key, $value); -Localize the element C<$key> of the variable C<$what> to the value C<$value> when the control flow returns to the scope pointed by the invocant. +Localizes the element C<$key> of the variable C<$what> to the value C<$value> when the control flow returns to the scope pointed by the invocant, until said scope ends. See L for details. @@ -501,7 +501,7 @@ sub localize_elem { $cxt->localize_delete($what, $key); -Delete the element C<$key> from the variable C<$what> when the control flow returns to the scope pointed by the invocant. +Deletes the element C<$key> from the variable C<$what> when the control flow returns to the scope pointed by the invocant, and restores it to its original value when said scope ends. See L for details.