Perl::Critic::Policy::Freenode::IndirectObjectNotation(3pm)

Perl::Critic::Policy::Freenode::IndirectObjectNotation3pm

Don't call methods indirectly

Overview

Legacy "freenode" theme policy alias.

Policy moved

This policy has been moved to Perl::Critic::Community.

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

Releases

3 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12

Author

Dan Book, "[email protected]"

From libperl-critic-community-perl 1.0.3-1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.