Revision history for Scope-Upper
+0.23 2013-09-02 11:30 UTC
+ This is a maintenance release. The code contains no functional change.
+ Satisfied users of version 0.22 can skip this update.
+ + Fix : [RT #87178] : typo fixes.
+ Thanks dsteinbrunner@pobox.com for the patch.
+ + Fix : [RT #88177] : 5.19.3 block hint test breakage
+ t/07-context_info.t has been taught about perl 5.19.3.
+ Thanks Andrew Main for the patch.
+ + Tst : Author tests are no longer bundled with this distribution.
+ They are only made available to authors in the git repository.
+ + Tst : "given is experimental" warnings when running tests on perl
+ 5.18 and above have been silenced.
+
0.22 2013-01-30 23:35 UTC
+ Chg : perl 5.6.1 is required.
+ Fix : context_info() now ignores %warnings::Bits for perl 5.8.6 and
"Vincent Pit <perl@profvince.com>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921",
+ "generated_by" : "ExtUtils::MakeMaker version 6.74, CPAN::Meta::Converter version 2.132140",
"license" : [
"perl_5"
],
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "web" : "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Scope-Upper"
+ "web" : "http://rt.cpan.org/Dist/Display.html?Name=Scope-Upper"
},
"homepage" : "http://search.cpan.org/dist/Scope-Upper/",
"license" : [
"url" : "http://git.profvince.com/?p=perl%2Fmodules%2FScope-Upper.git"
}
},
- "version" : "0.22"
+ "version" : "0.23"
}
Config: 0
ExtUtils::MakeMaker: 0
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921'
+generated_by: 'ExtUtils::MakeMaker version 6.74, CPAN::Meta::Converter version 2.132140'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
base: 0
perl: 5.006001
resources:
- bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Scope-Upper
+ bugtracker: http://rt.cpan.org/Dist/Display.html?Name=Scope-Upper
homepage: http://search.cpan.org/dist/Scope-Upper/
license: http://dev.perl.org/licenses/
repository: http://git.profvince.com/?p=perl%2Fmodules%2FScope-Upper.git
-version: 0.22
+version: 0.23
Scope::Upper - Act on upper scopes.
VERSION
- Version 0.22
+ Version 0.23
SYNOPSIS
"reap", "localize", "localize_elem", "localize_delete" and "WORDS" :
* execute a subroutine in the setting of an upper subroutine stack
frame with "uplevel" ;
- * uniquely identify contextes with "uid" and "validate_uid".
+ * uniquely identify contexts with "uid" and "validate_uid".
FUNCTIONS
In all those functions, $context refers to the target scope.
"local *x".
* A string beginning with '@' or '%', for which the call is equivalent
- to respectiveley "local $a[$key]; delete $a[$key]" and "local
+ to respectively "local $a[$key]; delete $a[$key]" and "local
$h{$key}; delete $h{$key}".
* A string beginning with '&', which more or less does "undef &func"
Getting a context from a context
For any of those functions, $from is expected to be a context. When
- omitted, it defaults to the the current context.
+ omitted, it defaults to the current context.
"UP"
my $upper_context = UP;
Moreover, in order to handle "goto" statements properly, "uplevel"
currently has to suffer a run-time overhead proportional to the size of
- the the callback in every case (with a small ratio), and proportional to
- the size of all the code executed as the result of the "uplevel" call
+ the callback in every case (with a small ratio), and proportional to the
+ size of all the code executed as the result of the "uplevel" call
(including subroutine calls inside the callback) when a "goto" statement
is found in the "uplevel" callback. Despite this shortcoming, this XS
version of "uplevel" should still run way faster than the pure-Perl
A C compiler. This module may happen to build with a C++ compiler as
well, but don't rely on it, as no guarantee is made in this regard.
- XSLoader (core since perl 5.006).
+ XSLoader (core since perl 5.6.0).
SEE ALSO
"local" in perlfunc, "Temporary Values via local()" in perlsub.