Perl::Critic::Policy::Freenode::IndirectObjectNotation - Don't call methods indirectly
Legacy freenode theme policy alias.
freenode
This policy has been moved to Perl::Critic::Community.
This policy is part of Perl::Critic::Freenode.
This policy can be configured, in the same way as its parent policy Perl::Critic::Policy::Objects::ProhibitIndirectSyntax, to attempt to forbid additional method names from being called indirectly. Be aware this may lead to false positives as it is difficult to detect indirect object notation by static analysis. The new subroutine is always forbidden in addition to these.
new
[Freenode::IndirectObjectNotation] forbid = create destroy
Dan Book, dbook@cpan.org
dbook@cpan.org
Copyright 2015, Dan Book.
This library is free software; you may redistribute it and/or modify it under the terms of the Artistic License version 2.0.
Perl::Critic, Perl::Critic::Community
To install Perl::Critic::Community, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Critic::Community
CPAN shell
perl -MCPAN -e shell install Perl::Critic::Community
For more information on module installation, please visit the detailed CPAN module installation guide.