Revision history for Scope-Upper
+0.15 2011-08-24 14:20 UTC
+ + Fix : Localizing subroutines in an higher scope will now correctly
+ update the method cache.
+
0.14 2011-02-27 00:00 UTC
+ Fix : [RT #64997] : Compatibility with perl 5.13.10.
Thanks Dave Mitchell for the notice.
"Vincent Pit <perl@profvince.com>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.58, CPAN::Meta::Converter version 2.110930001",
+ "generated_by" : "ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150",
"license" : [
"perl_5"
],
"url" : "http://git.profvince.com/?p=perl%2Fmodules%2FScope-Upper.git"
}
},
- "version" : "0.14"
+ "version" : "0.15"
}
---- #YAML:1.0
-name: Scope-Upper
-version: 0.14
-abstract: Act on upper scopes.
+---
+abstract: 'Act on upper scopes.'
author:
- - Vincent Pit <perl@profvince.com>
-license: perl
-distribution_type: module
-configure_requires:
- Config: 0
- ExtUtils::MakeMaker: 0
+ - 'Vincent Pit <perl@profvince.com>'
build_requires:
- base: 0
- Exporter: 0
- ExtUtils::MakeMaker: 0
- Test::More: 0
- XSLoader: 0
+ Exporter: 0
+ ExtUtils::MakeMaker: 0
+ Test::More: 0
+ XSLoader: 0
+ base: 0
+configure_requires:
+ Config: 0
+ ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Scope-Upper
+no_index:
+ directory:
+ - t
+ - inc
requires:
- base: 0
- Exporter: 0
- perl: 5.006
- XSLoader: 0
+ Exporter: 0
+ XSLoader: 0
+ base: 0
+ perl: 5.006
resources:
- bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=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
-no_index:
- directory:
- - t
- - inc
-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
+ bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=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.15
Scope::Upper - Act on upper scopes.
VERSION
- Version 0.14
+ Version 0.15
SYNOPSIS
"reap", "localize", "localize_elem", "localize_delete" and "WORDS" :
package Scope;
- use Scope::Upper qw/reap localize localize_elem localize_delete :words/;
+ use Scope::Upper qw<reap localize localize_elem localize_delete :words>;
sub new {
my ($class, $name) = @_;
package Try;
- use Scope::Upper qw/unwind want_at :words/;
+ use Scope::Upper qw<unwind want_at :words>;
sub try (&) {
my @result = shift->();
sub zap {
try {
- my @things = qw/a b c/;
+ my @things = qw<a b c>;
return @things; # returns to try() and then outside zap()
# not reached
};
# not reached
}
- my @stuff = zap(); # @stuff contains qw/a b c/
+ my @stuff = zap(); # @stuff contains qw<a b c>
my $stuff = zap(); # $stuff contains 3
DESCRIPTION
=head1 VERSION
-Version 0.14
+Version 0.15
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.14';
+ $VERSION = '0.15';
}
=head1 SYNOPSIS