From: Vincent Pit Date: Sun, 25 Jul 2010 18:09:45 +0000 (+0200) Subject: This is 0.06 X-Git-Tag: v0.06^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=d027f9e2d01eea3b32eff74cc1e89fae7e8927df;p=perl%2Fmodules%2Fsubs-auto.git This is 0.06 --- diff --git a/Changes b/Changes index eb8ab9d..876bf60 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,16 @@ Revision history for subs-auto +0.06 2010-07-25 18:10 UTC + + Chg : B::Keywords is now used for its list of core keywords. + + Fix : Compatibility with Perl 5.11.2 (and thus 5.12 and later). + + Fix : The reset globs now keep their original file name and line + number. Symbol is no longer needed. + + Fix : The default package on which act the pragma was off by one + stack frame. + + Fix : Calling a method at compile time on a package on which the + pragma acts no longer breaks. + + Fix : Work around Kwalitee test misfailures. + 0.05 2009-07-01 09:05 UTC + Upd : Resources in META.yml. diff --git a/META.yml b/META.yml index 213eb7c..2de2521 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: subs-auto -version: 0.05 +version: 0.06 abstract: Read barewords as subroutine names. author: - Vincent Pit @@ -9,13 +9,18 @@ distribution_type: module configure_requires: ExtUtils::MakeMaker: 0 build_requires: + B::Keywords: 0 + Carp: 0 ExtUtils::MakeMaker: 0 Test::More: 0 + Variable::Magic: 0.31 + XSLoader: 0 requires: + B::Keywords: 0 Carp: 0 perl: 5.01 - Symbol: 0 - Variable::Magic: 0.08 + Variable::Magic: 0.31 + XSLoader: 0 resources: bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=subs-auto homepage: http://search.cpan.org/dist/subs-auto/ @@ -25,7 +30,8 @@ no_index: directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.52 +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: 0 diff --git a/README b/README index feb7777..e5749cf 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME subs::auto - Read barewords as subroutine names. VERSION - Version 0.05 + Version 0.06 SYNOPSIS { @@ -36,8 +36,9 @@ DESCRIPTION "Some::Package" allows you to resolve all functions name of the type "Some::Package::func ..." in the current scope. You can use the pragma several times with different package names to allow - resolution of all the corresponding barewords. Defaults to the - current package. + resolution of all the corresponding barewords. + + Defaults to the current package. This module is not a source filter. @@ -58,14 +59,18 @@ CAVEATS if you want them not to be treated as function calls. Or just use lexical filehandles and default ones as you should be. + This pragma doesn't propagate into "eval STRING". + DEPENDENCIES perl 5.10.0. - Carp (standard since perl 5), Symbol (since 5.002). - Variable::Magic with "uvar" magic enabled (this should be assured by the required perl version). + B::Keywords. + + Carp (standard since perl 5), XSLoader (since 5.006). + AUTHOR Vincent Pit, "", . @@ -90,7 +95,7 @@ ACKNOWLEDGEMENTS Thanks to Sebastien Aperghis-Tramoni for helping to name this pragma. COPYRIGHT & LICENSE - Copyright 2008 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. diff --git a/lib/subs/auto.pm b/lib/subs/auto.pm index decd4f4..c079d7c 100644 --- a/lib/subs/auto.pm +++ b/lib/subs/auto.pm @@ -11,13 +11,13 @@ subs::auto - Read barewords as subroutine names. =head1 VERSION -Version 0.05 +Version 0.06 =cut our $VERSION; BEGIN { - $VERSION = '0.05'; + $VERSION = '0.06'; } =head1 SYNOPSIS