From: Vincent Pit Date: Sat, 11 Oct 2008 16:45:53 +0000 (+0200) Subject: This is 0.06 X-Git-Tag: v0.06 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=72a683459afbe1a20dd824a10da8bcc08976f5a1;p=perl%2Fmodules%2Findirect.git This is 0.06 --- diff --git a/Changes b/Changes index 0dcda77..7c480b7 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for indirect +0.06 2008-10-11 16:45 UTC + + Doc : Nits. + + Tst : Test "no indirect 'anything'", "foo Class->bar", and indirect + uses of exec() and system(). + 0.05 2008-10-02 14:40 UTC + Chg : Now the old check function is always called before storing an op into the map. diff --git a/META.yml b/META.yml index a7b10c1..bf9a3a8 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: indirect -version: 0.05 +version: 0.06 abstract: Lexically warn about using the indirect object syntax. license: perl author: diff --git a/README b/README index 1aaaac9..8314442 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME indirect - Lexically warn about using the indirect object syntax. VERSION - Version 0.05 + Version 0.06 SYNOPSIS no indirect; @@ -15,12 +15,12 @@ SYNOPSIS if (defied $foo) { ... } # croaks, note the typo DESCRIPTION - When enabled (or disabled as some may prefer, since you actually turn it - on by calling "no indirect"), this pragma warns about indirect object - syntax constructs that may have slipped into your code. This syntax is - now considered harmful, since its parsing has many quirks and its use is - error prone (when "sub" isn't defined, "sub $x" is actually interpreted - as "$x->sub"). + When enabled (or disabled as some may prefer to say, since you actually + turn it on by calling "no indirect"), this pragma warns about indirect + object syntax constructs that may have slipped into your code. This + syntax is now considered harmful, since its parsing has many quirks and + its use is error prone (when "sub" isn't defined, "sub $x" is actually + interpreted as "$x->sub"). It currently does not warn when the object is enclosed between braces (like "meth { $obj } @args") or for core functions ("print" or "say"). @@ -31,7 +31,7 @@ DESCRIPTION METHODS "unimport @opts" - Magically called when "no indirect @args" is encountered. Turns the + Magically called when "no indirect @opts" is encountered. Turns the module on. If @opts contains ':fatal', the module will croak on the first indirect syntax met. @@ -46,8 +46,7 @@ DEPENDENCIES AUTHOR Vincent Pit, "", . - You can contact me by mail or on #perl @ FreeNode (vincent or - Prof_Vince). + You can contact me by mail or on "irc.perl.org" (vincent). BUGS Please report any bugs or feature requests to "bug-indirect at diff --git a/lib/indirect.pm b/lib/indirect.pm index a5bd1ef..e734781 100644 --- a/lib/indirect.pm +++ b/lib/indirect.pm @@ -9,13 +9,13 @@ indirect - Lexically warn about using the indirect object syntax. =head1 VERSION -Version 0.05 +Version 0.06 =cut our $VERSION; BEGIN { - $VERSION = '0.05'; + $VERSION = '0.06'; } =head1 SYNOPSIS