X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=lib%2Findirect.pm;h=bc59529d18034f89c19587a867f6d717a62a4ce6;hp=450b02567668d59a90aadf322e68f3af17a598fb;hb=7808ca5448054d4528a34984d0068ae38f0ac9e9;hpb=eac4650d2e25bccf34b488e1fc0f9c388e21bf4c diff --git a/lib/indirect.pm b/lib/indirect.pm index 450b025..bc59529 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.04 +Version 0.05 =cut our $VERSION; BEGIN { - $VERSION = '0.04'; + $VERSION = '0.05'; } =head1 SYNOPSIS @@ -31,7 +31,7 @@ BEGIN { =head1 DESCRIPTION -When enabled (or disabled as some may prefer, since you actually turn it on by calling C), 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 C isn't defined, C is actually interpreted as C<< $x->sub >>). +When enabled (or disabled as some may prefer to say, since you actually turn it on by calling C), 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 C isn't defined, C is actually interpreted as C<< $x->sub >>). It currently does not warn when the object is enclosed between braces (like C) or for core functions (C or C). This may change in the future, or may be added as optional features that would be enabled by passing options to C. @@ -41,7 +41,7 @@ This module is B a source filter. =head2 C -Magically called when C is encountered. Turns the module on. If C<@opts> contains C<':fatal'>, the module will croak on the first indirect syntax met. +Magically called when C is encountered. Turns the module on. If C<@opts> contains C<':fatal'>, the module will croak on the first indirect syntax met. =head2 C