Options

-p

Sets the variable $diagnostics::PRETTY to true

-v

Prints the perldiag manpage introduction, then any diagnostic messages

As a pragma:

use diagnostics [-verbose]

enables the use of diagnostics in your program (and enables Perl’s -w flag). Compilation is then subject to the enhanced diagnostics, which are issued to STDERR. Set the diagnostics::PRETTY variable in a BEGIN block to provide nicer escape sequences for pagers, so your output looks better. The -verbose option prints the perldiag manpage introduction, then any diagnostic messages. Functions are:

enable

Turns diagnostics on at runtime

disable

Turns diagnostics off at runtime

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.137.75