Revision history for indirect
+0.27 2013-01-30 19:00 UTC
+ + Fix : [RT #82562] : indirect/Devel::CallParser interaction
+ indirect has been taught to play nicely with Devel::CallParser.
+ Thanks Andrew Main for the patch.
+ + Tst : Author tests overhaul.
+
0.26 2011-10-23 14:25 UTC
+ Add : "no indirect 'global'" enables the pragma for the whole program,
except for lexical scopes that "use indirect" explicitely.
"Vincent Pit <perl@profvince.com>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621",
+ "generated_by" : "ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921",
"license" : [
"perl_5"
],
"prereqs" : {
"build" : {
"requires" : {
- "Carp" : 0,
- "ExtUtils::MakeMaker" : 0,
- "Test::More" : 0,
- "XSLoader" : 0
+ "Carp" : "0",
+ "ExtUtils::MakeMaker" : "0",
+ "Test::More" : "0",
+ "XSLoader" : "0"
}
},
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : 0
+ "ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
- "Carp" : 0,
- "XSLoader" : 0,
+ "Carp" : "0",
+ "XSLoader" : "0",
"perl" : "5.008001"
}
}
"url" : "http://git.profvince.com/?p=perl%2Fmodules%2Findirect.git"
}
},
- "version" : "0.26"
+ "version" : "0.27"
}
configure_requires:
ExtUtils::MakeMaker: 0
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621'
+generated_by: 'ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
homepage: http://search.cpan.org/dist/indirect/
license: http://dev.perl.org/licenses/
repository: http://git.profvince.com/?p=perl%2Fmodules%2Findirect.git
-version: 0.26
+version: 0.27
indirect - Lexically warn about using the indirect method call syntax.
VERSION
- Version 0.26
+ Version 0.27
SYNOPSIS
In a script :
This module is not a source filter.
METHODS
- "unimport [ 'global', hook => $hook | 'fatal' ]"
+ "unimport"
+ no indirect;
+ no indirect 'fatal';
+ no indirect hook => sub { my ($obj, $name, $file, $line) = @_; ... };
+ no indirect 'global';
+ no indirect 'global, 'fatal';
+ no indirect 'global', hook => sub { ... };
+
Magically called when "no indirect @opts" is encountered. Turns the
module on. The policy to apply depends on what is first found in @opts :
}
"import"
+ use indirect;
+
Magically called at each "use indirect". Turns the module off.
As explained in "unimport"'s description, an "use indirect" statement
indirect 'global', ..." (if there's one).
FUNCTIONS
- "msg $object, $method, $file, $line"
+ "msg"
+ my $msg = msg($object, $method, $file, $line);
+
Returns the default error message that "indirect" generates when an
indirect method call is reported.
reporting issues.
COPYRIGHT & LICENSE
- Copyright 2008,2009,2010,2011 Vincent Pit, all rights reserved.
+ Copyright 2008,2009,2010,2011,2012,2013 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.