Diagnostics

diagnostics(3p) Perl Programmers Reference Guide diagnostics(3p)

Diagnostics

diagnostics(3p) Perl Programmers Reference Guide diagnostics(3p) # diagnostics(3p) Perl Programmers Reference Guide diagnostics(3p) NNAAMMEE # diagnostics, splain - produce verbose warning diagnostics SSYYNNOOPPSSIISS # Using the "diagnostics" pragma: use diagnostics; use diagnostics -verbose; enable diagnostics; disable diagnostics; Using the "splain" standalone filter program: perl program 2>diag.out splain [-v] [-p] diag.out Using diagnostics to get stack traces from a misbehaving script: perl -Mdiagnostics=-traceonly my_script.pl DDEESSCCRRIIPPTTIIOONN # TThhee “"ddiiaaggnnoossttiiccss"” PPrraaggmmaa This module extends the terse diagnostics normally emitted by both the perl compiler and the perl interpreter (from running perl with a -w switch or “use warnings”), augmenting them with the more explicative and endearing descriptions found in perldiag. ...