[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#575982: ITP: libindirect-perl -- Lexically warn about using the indirect object syntax.



Package: wnpp
Severity: wishlist
Owner: Ivan Kohler <ivan-debian@420.am>
Owner: Ivan Kohler <ivan-debian@420.am>

* Package name    : libindirect-perl
  Version         : 0.19
  Upstream Author : Vincent Pit, <perl at profvince.com>, http://www.profvince.com
* URL             : http://search.cpan.org/dist/indirect/
* License         : Perl
  Programming Lang: Perl
  Description     : Lexically warn about using the indirect object syntax.

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).

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 features that would
be enabled by passing options to unimport.

This module is not a source filter.



Reply to: