Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

It was possible to put a certain word in the program ID in a COBOL program to cause it to list out every error message in the compiler. I don't remember what that word was. Is there such a perl -? to cause perl to do something similar or a perl error doc that lists them? I'm new to perl and I'm just curious about the error messages. Thanks

Replies are listed 'Best First'.
Re: perl error doc?
by Paladin (Vicar) on Jul 11, 2003 at 01:51 UTC
    perldoc perldiag has a list of all the errors.
Re: perl error doc?
by Zaxo (Archbishop) on Jul 11, 2003 at 02:03 UTC

    ... and perldoc perllexwarn has the warnings. use diagnostics; is a form of warnings.pm which gives those explanations as verbose warnings.

    After Compline,
    Zaxo