NAME
Error::Pure::ANSIColor::PrintVar - Error::Pure module for simple error print with all variables with ANSIColor support.
SYNOPSIS
use Error::Pure::ANSIColor::PrintVar qw(err);
err 'This is a fatal error', 'name', 'value';
SUBROUTINES
EXAMPLE1
use strict;
use warnings;
use Error::Pure::ANSIColor::PrintVar qw(err);
# Error.
err '1';
# Output:
# 1
EXAMPLE2
use strict;
use warnings;
use Error::Pure::ANSIColor::PrintVar qw(err);
# Error.
err '1', '2', '3';
# Output:
# 1
# 2: 3
EXAMPLE3
package Example3;
use strict;
use warnings;
use Error::Pure::ANSIColor::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
DEPENDENCIES
Error::Pure::Output::ANSIColor, Error::Pure::Utils, Exporter, List::MoreUtils, Readonly.
SEE ALSO
- Task::Error::Pure
-
Install the Error::Pure modules.
REPOSITORY
https://github.com/tupinek/Error-Pure-ANSIColor
AUTHOR
Michal Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2013-2017 Michal Špaček
BSD 2-Clause License
VERSION
0.01