Search results for "module:Perl::Critic::Exception::Fatal"

Perl::Critic::Exception::Fatal - A problem that should cause Perl::Critic to stop running. River stage three • 131 direct dependents • 386 total dependents

Something went wrong and processing should not continue. You should never specifically look for this exception or one of its subclasses. Note: the constructor invokes "show_trace" in Exception::Class to force stack-traces to be included in the standa...

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

Perl::Critic::Exception::Fatal::Generic - A problem for which there is no specialized information. River stage three • 131 direct dependents • 386 total dependents

A general problem, e.g. I/O errors and problems that may or not be bugs....

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

Perl::Critic::Exception::Fatal::Internal - A problem with the Perl::Critic implementation, i.e. a bug. River stage three • 131 direct dependents • 386 total dependents

A representation of a bug found in the code of Perl::Critic....

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

Perl::Critic::Exception::Fatal::PolicyDefinition - A bug in a policy. River stage three • 131 direct dependents • 386 total dependents

A bug in a policy was found, e.g. it didn't implement a method that it should have....

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::Utils::POD - Utility functions for dealing with POD. River stage three • 131 direct dependents • 386 total dependents

Provides means of accessing chunks of POD....

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

Perl::Critic::PolicyFactory - Instantiates Policy objects. River stage three • 131 direct dependents • 386 total dependents

This is a helper class that instantiates Perl::Critic::Policy objects with the user's preferred parameters. There are no user-serviceable parts here....

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

Perl::Critic::Policy::InputOutput::RequireCheckedOpen - Write < my $error = open $fh, $mode, $filename; > instead of < open $fh, $mode, $filename; >. River stage three • 131 direct dependents • 386 total dependents

The perl builtin I/O function "open" returns a false value on failure. That value should always be checked to ensure that the open was successful. my $error = open( $filehandle, $mode, $filename ); # ok open( $filehandle, $mode, $filename ) or die "u...

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

Perl::Critic::Policy::InputOutput::RequireCheckedSyscalls - Return value of flagged function ignored. River stage three • 131 direct dependents • 386 total dependents

This performs identically to InputOutput::RequireCheckedOpen/Close except that this is configurable to apply to any function, whether core or user-defined. If your module uses Fatal, Fatal::Exception, or autodie then any functions wrapped by those mo...

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

Perl::Critic::Policy::InputOutput::RequireCheckedClose - Write < my $error = close $fh; > instead of < close $fh; >. River stage three • 131 direct dependents • 386 total dependents

The perl builtin I/O function "close" returns a false value on failure. That value should be checked to ensure that the close was successful. my $error = close $filehandle; # ok close $filehandle or die "unable to close: $!"; # ok close $filehandle; ...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC
11 results (0.149 seconds)