Search results for "module:Perl::Critic::Exception::Configuration::Option"

Perl::Critic::Exception::Configuration::Option - A problem with an option in the Perl::Critic configuration. River stage three • 131 direct dependents • 386 total dependents

A representation of a problem found with an option in the configuration of Perl::Critic, whether from a .perlcriticrc, another profile file, or command line. This is an abstract class. It should never be instantiated....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Exception::Configuration::Option::Policy - A problem with configuration of a policy. River stage three • 131 direct dependents • 386 total dependents

A representation of a problem found with the configuration of a Perl::Critic::Policy, whether from a .perlcriticrc, another profile file, or command line. This is an abstract class. It should never be instantiated....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Exception::Configuration::Option::Global - A problem with Perl::Critic global configuration. River stage three • 131 direct dependents • 386 total dependents

A representation of a problem found with the global configuration of Perl::Critic, whether from a .perlcriticrc, another profile file, or command line. This is an abstract class. It should never be instantiated....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Exception::Configuration::Option::Global::ExtraParameter - The configuration referred to a non-existent global option. River stage three • 131 direct dependents • 386 total dependents

A representation of the configuration attempting to specify a value for an option that Perl::Critic doesn't have, whether from a .perlcriticrc, another profile file, or command line....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Exception::Configuration::Option::Global::ParameterValue - A problem with the value of a global parameter. River stage three • 131 direct dependents • 386 total dependents

A representation of a problem found with the value of a global parameter, whether from a .perlcriticrc, another profile file, or command line....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Exception::Configuration::Option::Policy::ExtraParameter - The configuration referred to a non-existent parameter for a policy. River stage three • 131 direct dependents • 386 total dependents

A representation of the configuration attempting to specify a value for a parameter that a Perl::Critic::Policy doesn't have, whether from a .perlcriticrc, another profile file, or command line....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Exception::Configuration::Option::Policy::ParameterValue - A problem with the value of a parameter for a policy. River stage three • 131 direct dependents • 386 total dependents

A representation of a problem found with the value of a parameter for a Perl::Critic::Policy, whether from a .perlcriticrc, another profile file, or command line....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic - Critique Perl source code for best-practices. River stage three • 131 direct dependents • 386 total dependents

Perl::Critic is an extensible framework for creating and applying coding standards to Perl source code. Essentially, it is a static source code analysis engine. Perl::Critic is distributed with a number of Perl::Critic::Policy modules that attempt to...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Config - The final derived Perl::Critic configuration, combined from any profile file and command-line parameters. River stage three • 131 direct dependents • 386 total dependents

Perl::Critic::Config takes care of finding and processing user-preferences for Perl::Critic. The Config object defines which Policy modules will be loaded into the Perl::Critic engine and how they should be configured. You should never really need to...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Policy - Base class for all Policy modules. River stage three • 131 direct dependents • 386 total dependents

Perl::Critic::Policy is the abstract base class for all Policy objects. If you're developing your own Policies, your job is to implement and override its methods in a subclass. To work with the Perl::Critic engine, your implementation must behave as ...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Policy::Community::DiscouragedModules - Various modules discouraged from use River stage one • 8 direct dependents • 9 total dependents

Various modules are discouraged by some subsets of the community, for various reasons which may include: buggy behavior, cruft, performance problems, maintainer issues, or simply better modern replacements. This is a high severity complement to Perl:...

DBOOK/Perl-Critic-Community-v1.0.3 - 24 Jul 2022 06:28:31 UTC

Perl::Critic::Policy::Community::OverloadOptions - Don't use overload without specifying a bool overload and enabling fallback River stage one • 8 direct dependents • 9 total dependents

The overload module allows an object class to specify behavior for an object used in various operations. However, when activated it enables additional behavior by default: it autogenerates overload behavior for operators that are not specified, and i...

DBOOK/Perl-Critic-Community-v1.0.3 - 24 Jul 2022 06:28:31 UTC

Perl::Critic::Policy::ErrorHandling::RequireCarping - Use functions from Carp instead of warn or die. River stage three • 131 direct dependents • 386 total dependents

The "die" and "warn" functions both report the file and line number where the exception occurred. But if someone else is using your subroutine, they usually don't care where your code blew up. Instead, they want to know where their code invoked the s...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Policy::Bangs::ProhibitNumberedNames - Prohibit variables and subroutines with names that end in digits. River stage two • 8 direct dependents • 13 total dependents

Similar variables should be meaningfully different. A lazy way to differentiate similar variables is by tacking a number at the end. my $total = $price * $quantity; my $total2 = $total + ($total * $taxrate); my $total3 = $total2 + $shipping; The diff...

PETDANCE/Perl-Critic-Bangs-1.12 - 25 May 2017 04:09:31 UTC

Perl::Critic::Policy::Variables::ProhibitEvilVariables - Ban variables that aren't blessed by your shop. River stage three • 131 direct dependents • 386 total dependents

Use this policy if you wish to prohibit the use of specific variables. These may be global variables warned against in "perlvar", or just variables whose names you do not like....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Policy::CodeLayout::RequireFinalSemicolon - require a semicolon at the end of code blocks River stage two • 5 direct dependents • 18 total dependents

This policy is part of the "Perl::Critic::Pulp" add-on. It asks you to put a semicolon ";" on the final statement of a subroutine or block. sub foo { do_something(); # ok } sub bar { do_something() # bad } The idea is that if you add more code you do...

KRYDE/Perl-Critic-Pulp-99 - 28 Feb 2021 08:34:14 UTC

Perl::Critic::Policy::Documentation::ProhibitAdjacentLinks - consecutive Lltgt links River stage two • 5 direct dependents • 18 total dependents

This policy is part of the "Perl::Critic::Pulp" add-on. It asks you not to have two adjacent L<> sequences in a paragraph. For example, =head1 SEE ALSO L<Foo> # bad L<Bar> The idea is adjacent L<> like this is probably a missing comma or missing text...

KRYDE/Perl-Critic-Pulp-99 - 28 Feb 2021 08:34:14 UTC

Perl::Critic::Exception::Configuration - A problem with Perl::Critic configuration. River stage three • 131 direct dependents • 386 total dependents

A representation of a problem found with the configuration of Perl::Critic, whether from a .perlcriticrc, another profile file, or command line. This is an abstract class. It should never be instantiated....

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Policy::CodeLayout::ProhibitIfIfSameLine - don't put if after if on same line River stage two • 5 direct dependents • 18 total dependents

This policy is part of the "Perl::Critic::Pulp" add-on. It asks you to not to write an "if" statement on the same line as a preceding "if". if ($x) { ... } if ($y) { # bad ... } if ($x) { ... } elsif ($y) { # was "elsif" intended ? ... } The idea is ...

KRYDE/Perl-Critic-Pulp-99 - 28 Feb 2021 08:34:14 UTC

Perl::Critic::Policy::Documentation::ProhibitUnbalancedParens - don't leave an open bracket or paren River stage two • 5 direct dependents • 18 total dependents

This policy is part of the "Perl::Critic::Pulp" add-on. It reports unbalanced or mismatched parentheses, brackets and braces in POD text paragraphs, Blah blah (and something. # bad Blah blah ( [ ). # bad Blah blah brace }. # bad This is only cosmetic...

KRYDE/Perl-Critic-Pulp-99 - 28 Feb 2021 08:34:14 UTC
25 results (0.082 seconds)