NAME

Perl::Critic::Policy::Freenode::IndirectObjectNotation - Don't call methods indirectly

DESCRIPTION

Legacy freenode theme alias of Perl::Critic::Policy::Community::IndirectObjectNotation.

AFFILIATION

This policy is part of Perl::Critic::Freenode.

CONFIGURATION

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.

 [Freenode::IndirectObjectNotation]
 forbid = create destroy

AUTHOR

Dan Book, dbook@cpan.org

COPYRIGHT AND LICENSE

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.

SEE ALSO

Perl::Critic, Perl::Critic::Community