From: Vincent Pit Date: Wed, 8 Jul 2009 22:54:51 +0000 (+0200) Subject: This is 0.15 X-Git-Tag: v0.15^0 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=bdaded2ebf07853d6c3270293769ff933b78fcff;p=perl%2Fmodules%2Findirect.git This is 0.15 --- diff --git a/Changes b/Changes index fdfa4fc..5fdbf5e 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,11 @@ Revision history for indirect +0.15 2009-07-08 22:55 UTC + + Fix : Invalid constructs with the same method and package name were + not reported. + + Fix : The error line number used to point to the end of the expression + instead of its beginning. + 0.14 2009-06-04 21:55 UTC + Fix : Prevent bogus invalid syntaxes caused by reallocated memory chunks. Thanks Andrew Main for reporting with a reproducible diff --git a/META.yml b/META.yml index 649ffb0..d41974a 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: indirect -version: 0.14 +version: 0.15 abstract: Lexically warn about using the indirect object syntax. author: - Vincent Pit @@ -23,7 +23,7 @@ no_index: directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.52 +generated_by: ExtUtils::MakeMaker version 6.54 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 diff --git a/README b/README index 29e4f47..efc7130 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME indirect - Lexically warn about using the indirect object syntax. VERSION - Version 0.14 + Version 0.15 SYNOPSIS # In a script @@ -12,8 +12,8 @@ SYNOPSIS use indirect; my $y = new Pear; # ok { - no indirect hook => sub { die "You really wanted $_[0]\->$_[1]" }; - my $z = new Pineapple 'fresh'; # croaks 'You really wanted Pineapple->new' + no indirect hook => sub { die "You really wanted $_[0]\->$_[1] at $_[2]:$_[3]" }; + my $z = new Pineapple 'fresh'; # croaks 'You really wanted Pineapple->new at blurp.pm:13' } } no indirect ':fatal'; @@ -60,7 +60,8 @@ METHODS CONSTANTS "I_THREADSAFE" - True iff the module could have been built when thread-safety features. + True iff the module could have been built with thread-safety features + enabled. CAVEATS The implementation was tweaked to work around several limitations of diff --git a/lib/indirect.pm b/lib/indirect.pm index fe39bd9..63df3d8 100644 --- a/lib/indirect.pm +++ b/lib/indirect.pm @@ -11,13 +11,13 @@ indirect - Lexically warn about using the indirect object syntax. =head1 VERSION -Version 0.14 +Version 0.15 =cut our $VERSION; BEGIN { - $VERSION = '0.14'; + $VERSION = '0.15'; } =head1 SYNOPSIS