perl-indirect
Lexically warn about using the indirect method call syntax


When enabled, this pragma warns about indirect method calls that are present in your code. The indirect syntax is now considered harmful, since its parsing has many quirks and its use is error prone : when the subroutine 'foo' has not been declared in the current package, 'foo $x' actually compiles to '$x->foo', and 'foo { key =>1 }' to ''key'->foo(1)'. Please refer to the REFERENCES section for a more complete list of reasons for avoiding this construct. This pragma currently does not warn for core functions ('print', 'say', 'exec' or 'system'). This may change in the future, or may be added as optional featuresthat would be enabled by passing options to 'unimport'. This module is *not* a source filter.

Artistic-1.0 OR GPL-1.0-or-later

cloud_download Downloads

Please select a product to see the available package versions:
Loading...
Loading package downloads...