Search results for "module:Perl::Critic::Policy::Objects::ProhibitIndirectSyntax"
Perl::Critic::Policy::Objects::ProhibitIndirectSyntax - Prohibit indirect object call syntax.
Indirect object syntax is commonly used in other object-oriented languages for instantiating objects. Perl allows this, but to say that it supports it may be going too far. Instead of writing my $foo = new Foo; it is preferable to write my $foo = Foo...
PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC
Perl::Critic::Policy::Dynamic::NoIndirect - Perl::Critic policy against indirect method calls.
This Perl::Critic dynamic policy reports any use of indirect object syntax with a 'stern' severity. It's listed under the 'dynamic' and 'maintenance' themes. Since it wraps around indirect, it needs to compile the audited code and as such is implemen...
VPIT/Perl-Critic-Policy-Dynamic-NoIndirect-0.06 - 25 Aug 2011 14:55:26 UTC
Perl::Critic::Policy::Community::IndirectObjectNotation - Don't call methods indirectly
Perl allows a form of method call where the method name is first, followed by the invocant (class or object to call the method on), then the argument list. This is an unfortunate legacy syntax that should no longer be used. See "Indirect Object Synta...
DBOOK/Perl-Critic-Community-v1.0.3 - 24 Jul 2022 06:28:31 UTC
Perl::Critic::Policy::Freenode::IndirectObjectNotation - Don't call methods indirectly
Legacy "freenode" theme policy alias....
DBOOK/Perl-Critic-Community-v1.0.3 - 24 Jul 2022 06:28:31 UTC
Perl::Critic::Policy::ValuesAndExpressions::ProhibitBarewordDoubleColon - don't use Foo:: style barewords
This policy is part of the "Perl::Critic::Pulp" add-on. It asks you not to use the double-colon bareword like $class = Foo::Bar::; # bad but instead a plain string $class = 'Foo::Bar'; # ok This is intended as a building block for a restricted coding...
KRYDE/Perl-Critic-Pulp-99 - 28 Feb 2021 08:34:14 UTC