IWL::Error - The base error handling class of IWL
IWL::Error handles registering and reporting errors for IWL
In scalar context returns the newline separated contents of the error stack. In list context it returns the error stack as a list.
Like IWL::Error::errorList(3pm) but empties the error stack and resets the bad state.
Removes trailing newlines from the messages on the error stack.
Empties the error stack.
Returns the current bad state.
Returns the number of messages on the error stack.
The following methods should only be used by classes that inherit from IWL::Error.
Push all strings in ERROR_LIST onto the error stack and returns false (can be used to return with an error from arbitrary functions).
ERROR_LIST
Parameters: ERROR_LIST - the strings to push into the error stack
Combines IWL::Error::_pushError(3pm) and IWL::Error::_setBad(3pm) to produce a fatal error
Sets the current bad state.
Parameters: STATE - a boolean state value
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
'=item' outside of any '=over'
=over without closing =back
To install IWL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IWL
CPAN shell
perl -MCPAN -e shell install IWL
For more information on module installation, please visit the detailed CPAN module installation guide.