X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=README;h=a563ea0adc3a9a95c73022856fa910878e409c71;hp=a254d34e5faf457aba026e38de3c7627ef58446a;hb=e3cc63669e7d84f338348281f313709bae0be8af;hpb=8a6edfe3e713d47f83fcee92125f992769c67884 diff --git a/README b/README index a254d34..a563ea0 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME indirect - Lexically warn about using the indirect object syntax. VERSION - Version 0.19 + Version 0.21 SYNOPSIS # In a script @@ -31,10 +31,14 @@ SYNOPSIS DESCRIPTION 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 "swoosh" isn't defined, "swoosh $x" - actually compiles to "$x->swoosh"). + 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 "swoosh" isn't defined, "swoosh $x" + actually compiles to "$x->swoosh"). In + , + Matt S. Trout gives an example of an indirect construct that can cause a + particularly bewildering error. It currently does not warn for core functions ("print", "say", "exec" or "system"). This may change in the future, or may be added as optional @@ -116,7 +120,7 @@ CAVEATS Hence "my $x = new Class if 0" will be caught. DEPENDENCIES - perl 5.8. + perl 5.8.1. XSLoader (standard since perl 5.006). @@ -147,7 +151,7 @@ ACKNOWLEDGEMENTS reporting issues. COPYRIGHT & LICENSE - Copyright 2008-2009 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.