Error::Pure::ErrorList - Error::Pure module with list of errors in one line with informations over HTTP.
use Error::Pure::HTTP::ErrorList qw(err); err "This is a fatal error.", "name", "value";
Process error with messages @messages.
use strict; use warnings; use Error::Pure::HTTP::ErrorList qw(err); # Error. err '1'; # Output like this: # Content-type: text/plain # # #Error [script.pl:11] 1
use strict; use warnings; use Error::Pure::HTTP::ErrorList qw(err); # Error. err '1', '2', '3'; # Output like this: # Content-type: text/plain # # #Error [script.pl:11] 1
use strict; use warnings; use English qw(-no_match_vars); use Error::Pure::HTTP::ErrorList qw(err); # Error. eval { err "1"; }; if ($EVAL_ERROR) { err "2"; } # Output like this: # Content-type: text/plain # # #Error [script.pl:12] 1 # #Error [script.pl:13] 2
Error::Pure::Utils, Error::Pure::Output::Text, Exporter, List::MoreUtils, Readonly.
Install the Error::Pure modules.
https://github.com/tupinek/Error-Pure
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© 2012-2018 Michal Josef Špaček BSD 2-Clause License
0.15
To install Error::Pure::HTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Error::Pure::HTTP
CPAN shell
perl -MCPAN -e shell install Error::Pure::HTTP
For more information on module installation, please visit the detailed CPAN module installation guide.