Error::Pure::PrintVar - Error::Pure module for simple error print with all variables.
use Error::Pure::PrintVar qw(err); err 'This is a fatal error', 'name', 'value';
err
err 'This is a fatal error', 'name', 'value';
Process error with message(s). There is key => value list after first message.
use strict; use warnings; use Error::Pure::PrintVar qw(err); # Error. err '1'; # Output: # 1
use strict; use warnings; use Error::Pure::PrintVar qw(err); # Error. err '1', '2', '3'; # Output: # 1 # 2: 3
package Example3; use strict; use warnings; use Error::Pure::PrintVar qw(err); # Test with error. sub test { err '1', '2', '3'; } package main; use strict; use warnings; # Run. Example3::test(); # Output: # Example3: 1 # 2: 3
Error::Pure::Utils, Error::Pure::Output::Text, Exporter, List::Util, Readonly.
Install the Error::Pure modules.
https://github.com/michal-josef-spacek/Error-Pure
Michal Josef Špaček mailto:skim@cpan.org
http://skim.cz
© 2008-2023 Michal Josef Špaček
BSD 2-Clause License
0.31
To install Error::Pure, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Error::Pure
CPAN shell
perl -MCPAN -e shell install Error::Pure
For more information on module installation, please visit the detailed CPAN module installation guide.