Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

EXP30:EX1: There are several instances when die() and warn() are preferred over carp() and croak():

  • Inside a signal handler . This is because the behavior of croak() and carp() functions when invoked inside a signal handler are not documented.
  • Outside a subroutine, that is, when used in a small Perl script. In this case, all four functions have no stack trace to indicate their calling location.

...

Automated Detection

Tool

Diagnostic

Perl::Critic

 

 

ErrorHandling::RequireCarping 

InputOutput::ProhibitInteractiveTest 

Miscellanea::ProhibitFormats

Related Guidelines

...

...

...

...

...

Bibliography

...

...

Chris Dolan,

...

base
[CPAN]Max Maischein, parent

Max. parent

...

Image Modified Image Modified Image Modified