Parse::FSM::Error - Format error and waring messages
use Parse::FSM::Error qw( error warning ); error($message); error($message, $file, $line_nr); warning($message); warning($message, $file, $line_nr);
This module formats an error or warning message and displays it on STDERR, exiting with die for error.
STDERR
error
None by default.
Formats the error message, shows it on STDERR and dies. The file name and line number are optional.
Formats the warning message and shows it on STDERR. The file name and line number are optional.
See Parse::FSM
To install Parse::FSM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::FSM
CPAN shell
perl -MCPAN -e shell install Parse::FSM
For more information on module installation, please visit the detailed CPAN module installation guide.