Package : perl-indirect > RPM : perl-indirect-0.360.0-3.mga6.src.rpm

Basic items

Name perl-indirect
Version 0.360.0
Release 3.mga6
URL https://metacpan.org/release/indirect
Group Development/Perl
Summary Lexically warn about using the indirect method call syntax
Size 52KB
Arch i586
License GPL+ or Artistic

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 the
http://www.shadowcat.co.uk/blog/matt-s-trout/indirect-but-still-fatal
manpage, 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'.

Media information

Distribution release Mageia 6
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2016-06-19 04:05:57
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie