perl warnings

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

   Are the perl warnings documented anywhere?

   I mean warnings like this:
   "Use of uninitialized value in substitution (s///) at..."


 | Daniel Molina Wegener <dmw at unete dot cl>
 | Developer | FreeBSD Power-User
 | "God is real, unless declared integer."

Re: perl warnings

Daniel Molina Wegener wrote:
Quoted text here. Click to load it

Have you had a look at splain/diagnostics?

At run-time, 'use diagnostics' instead of 'use warnings' will emit more
verbose error messages:


use strict;
use diagnostics;

You can also dump stderr to a file, and use the 'splain' utility:

perl program 2>diag.out
splain diag.out

See 'perldoc diagnostics' for more. Also see 'perldoc perldiag' for a
complete list of all the extended warnings.


Cocoa programming in Perl:
Hire me! My resume:

Site Timeline