./devel/p5-indirect [lexically warn about using the indirect method call syntax]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.37, Package name: p5-indirect-0.37
Maintained by: Sergey Bronnikov
Master sites:
Description
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). 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.

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.


Filesize: 53.605 KB
Version History (View Complete History)
  • (2016-11-24) Updated to version: p5-indirect-0.37
  • (2014-11-06) Updated to version: p5-indirect-0.33
  • (2014-04-05) Package added to openports.se, version p5-indirect-0.31 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2016-11-23 14:48:20 by Alexander Bluhm | Files touched by this commit (2)
Log message:
update p5-indirect to 0.37
from maintainer Sergey Bronnikov; OK afresh1@
   2016-11-23 14:48:20 by Alexander Bluhm | Files touched by this commit (2)
Log message:
update p5-indirect to 0.37
from maintainer Sergey Bronnikov; OK afresh1@
   2016-03-20 13:57:24 by Christian Weisgerber | Files touched by this commit (1617)
Log message:
Remove SHARED_ONLY from all CPAN Perl ports and the cpan and perl MODULES.
Add WANTLIB+=perl and PKG_ARCH=* as appropriate.
   2015-07-16 17:57:29 by Antoine Jacoutot | Files touched by this commit (292)
Log message:
Remove the perl bullshit.
   2015-07-16 17:57:29 by Antoine Jacoutot | Files touched by this commit (292)
Log message:
Remove the perl bullshit.
   2014-11-06 09:43:01 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Maintainer update to p5-indirect-0.33, from Sergey Bronnikov.
   2014-11-06 09:43:01 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Maintainer update to p5-indirect-0.33, from Sergey Bronnikov.