logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Affiliation

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

Author

       Dan Book, "dbook@cpan.org"

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

Description

       Legacy "freenode" theme policy alias.

Name

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

Policy Moved

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

See Also

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

perl v5.34.0                                       2022-07-27             Perl::Critic::P...tObjectNotation(3pm)

See Also