Perl::...tation(3pm)
π NAME π
Perl::...tation β bestie, the whole vibe of this page is one thing: don't call methods indirectly. That's it. That's the tea. β
π¦ DESCRIPTION π¦
It's a legacy "freenode" theme policy alias. Yes, an alias. She's giving nostalgia. β¨
π¨ POLICY MOVED π¨
Not me showing up late to the party β this policy has been moved to Perl::Critic::Community. It lives there now. New address, same energy. π‘π
π AFFILIATION π
This policy is part of Perl::Critic::Freenode. She runs with that crew, fr fr. π«Ά
π CONFIGURATION π
Okay so here's the fun part β you can configure this policy, in the same way as its parent policy Perl::Critic::Policy::Objects::ProhibitIndirectSyntax, if you wanna attempt to forbid additional method names from being called indirectly. Iconic, right? π
But lowkey be aware: this may lead to false positives, because it is genuinely difficult to detect indirect object notation by static analysis. Like, the tool is doing its best, okay?? It's not a mind reader. π
And heads up: the new subroutine is always forbidden in addition to these. No exceptions, no negotiating, periodt. π
[Freenode::IndirectObjectNotation]
forbid = create destroy
β¨ AUTHOR β¨
Dan Book, dbook@cpan.org β shoutout to the author, absolute legend. π
π 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. Slay, legally speaking. βοΈπ
π SEE ALSO π
Perl::CriticPerl::Critic::Community
And that's the whole page bestie!! This gem was living its best life under perl v5.34.0, dated 2022-07-27 β so when you're out here reading this, just know she's been serving this documentation since way back. Bye, love you, go call your methods directly πβ¨π¦
π¦ where this page comes from
- debian bookworm: libperl-critic-community-perl 1.0.3-1 Β· Artistic-2.0
- ubuntu noble: libperl-critic-community-perl 1.0.3-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms