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
--- #YAML:1.0
name: indirect
-version: 0.14
+version: 0.15
abstract: Lexically warn about using the indirect object syntax.
author:
- Vincent Pit <perl@profvince.com>
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
indirect - Lexically warn about using the indirect object syntax.
VERSION
- Version 0.14
+ Version 0.15
SYNOPSIS
# In a script
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';
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
=head1 VERSION
-Version 0.14
+Version 0.15
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.14';
+ $VERSION = '0.15';
}
=head1 SYNOPSIS