The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Parse::FSM::Error - Format error and waring messages

SYNOPSIS

  use Parse::FSM::Error qw( error warning );

  error($message);
  error($message, $file, $line_nr);
  
  warning($message);
  warning($message, $file, $line_nr);

DESCRIPTION

This module formats an error or warning message and displays it on STDERR, exiting with die for error.

EXPORTS

None by default.

error

Formats the error message, shows it on STDERR and dies. The file name and line number are optional.

warning

Formats the warning message and shows it on STDERR. The file name and line number are optional.

AUTHOR, BUGS, FEEDBACK, LICENSE, COPYRIGHT

See Parse::FSM