./devel/p5-indirect, Lexically warn about using the indirect method call syntax

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q3, Version: 0.39nb1, Package name: p5-indirect-0.39nb1, Maintainer: pkgsrc-users

When enabled, this pragma warns about indirect method calls that are
present in your code.

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

In http://www.shadowcat.co.uk/blog/matt-s-trout/indirect-but-still-fatal,
Matt S. Trout gives an example of an undesirable indirect method call on
a block that can cause a particularly bewildering error.


Master sites: (Expand)

SHA1: 6c61a9555f5f9b13140636f82b4311592558cc64
RMD160: e308940e61b8b0302d0d82af40e2549f6909e6c8
Filesize: 51.007 KB

Version history: (Expand)