X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=README;h=074581cbe7cf8130d2d391cbbc85974e775d7b8f;hb=4825a3233b7d55ceb3e7f5d812fd6a545b3b87ce;hp=d0327e14cd8e52e39197258c9761d383e6849ed2;hpb=4c8461e81387b2f965156423ae04f418d8da1312;p=perl%2Fmodules%2FScope-Upper.git diff --git a/README b/README index d0327e1..074581c 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Scope::Upper - Act on upper scopes. VERSION - Version 0.08 + Version 0.10 SYNOPSIS package X; @@ -170,7 +170,11 @@ FUNCTIONS # not reached }->(); - will righteously set $num to 26. + will rightfully set $num to 26. + +CONSTANTS + "SU_THREADSAFE" + True iff the module could have been built when thread-safety features. WORDS Constants @@ -272,6 +276,9 @@ EXPORT "unwind" and "want_at" are only exported on request, either individually or by the tags ':funcs' and ':all'. + The constant "SU_THREADSAFE" is also only exported on request, + individually or by the tags ':consts' and ':all'. + Same goes for the words "TOP", "HERE", "UP", "SUB", "EVAL", "SCOPE" and "CALLER" that are only exported on request, individually or by the tags ':words' and ':all'. @@ -315,6 +322,11 @@ DEPENDENCIES SEE ALSO Alias, Hook::Scope, Scope::Guard, Guard. + Continuation::Escape is a thin wrapper around Scope::Upper that gives + you a continuation passing style interface to "unwind". It's easier to + use, but it requires you to have control over the scope where you want + to return. + AUTHOR Vincent Pit, "", . @@ -341,7 +353,7 @@ ACKNOWLEDGEMENTS Thanks to Shawn M. Moore for motivation. COPYRIGHT & LICENSE - Copyright 2008-2009 Vincent Pit, all rights reserved. + Copyright 2008,2009,2010 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.