X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Context.git;a=blobdiff_plain;f=lib%2FScope%2FContext.pm;h=c9b778e309cb301c4655aaf0035a1a2511b97c17;hp=c57a83039b40dd26f80a3f79ad9f38c79afed509;hb=f2cf6ae0570e2cbab53e5dc4ac71a038bdd06366;hpb=0aa7e9215b880762d03074ac637304eaa2eeeecf diff --git a/lib/Scope/Context.pm b/lib/Scope/Context.pm index c57a830..c9b778e 100644 --- a/lib/Scope/Context.pm +++ b/lib/Scope/Context.pm @@ -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. +Localize 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. +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, 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. +Delete the element C<$key> from the variable C<$what> when the control flow returns to the scope pointed by the invocant, and restore it to its original value when said scope ends. See L for details.