Revision history for Scope-Upper
+0.10 2010-01-18 23:50 UTC
+ + Fix : Properly handle given/when on 5.10.
+ + Fix : Some stack inconsistencies were fixed, though they were unlikely
+ to have an impact on your real-life code.
+ + Fix : Work around Kwalitee test misfailures.
+
0.09 2009-05-17 20:20 UTC
+ Add : The new SU_THREADSAFE constant can be used to know whether the
module could have been built with thread safety enabled.
--- #YAML:1.0
name: Scope-Upper
-version: 0.09
+version: 0.10
abstract: Act on upper scopes.
author:
- Vincent Pit <perl@profvince.com>
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
+ base: 0
+ Exporter: 0
ExtUtils::MakeMaker: 0
Test::More: 0
+ XSLoader: 0
requires:
+ base: 0
Exporter: 0
perl: 5.006
XSLoader: 0
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.50
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
+dynamic_config: 1
Scope::Upper - Act on upper scopes.
VERSION
- Version 0.09
+ Version 0.10
SYNOPSIS
package X;
# not reached
}->();
- will righteously set $num to 26.
+ will rightfully set $num to 26.
CONSTANTS
"SU_THREADSAFE"
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, "<perl at profvince.com>", <http://www.profvince.com>.
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.