FILE ... TOC

Display warning or error

Calling this function from a Perl extension module creates warning or error message.

It is the caller responsibility to execute an exit after calling Error in case the program think that the error is unrecoverable.

Usage:

              &jamal::Warning('I think there might be some slight problem');

              or

              &jamal::Error('I can not cope with you!'); exit;

              or

              &jamal::Error('This is a serious error, but I keep trying.'); #no exit

FILE ... TOC