The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Error::Pure::PrintVar - Error::Pure module for simple error print with all variables.

SYNOPSIS

 use Error::Pure::PrintVar qw(err);
 err 'This is a fatal error', 'name', 'value';

SUBROUTINES

err(@messages)
 Process error with messages @messages.

EXAMPLE1

 # Pragmas.
 use strict;
 use warnings;

 # Modules.
 use Error::Pure::PrintVar qw(err);

 # Error.
 err '1';

 # Output:
 # 1

EXAMPLE2

 # Pragmas.
 use strict;
 use warnings;

 # Modules.
 use Error::Pure::PrintVar qw(err);

 # Error.
 err '1', '2', '3';

 # Output:
 # 1
 # 2: 3

EXAMPLE3

 package Example3;

 # Pragmas.
 use strict;
 use warnings;

 # Modules.
 use Error::Pure::PrintVar qw(err);

 # Test with error.
 sub test {
         err '1', '2', '3';
 }

 package main;

 # Pragmas.
 use strict;
 use warnings;

 # Run.
 Example3::test();

 # Output:
 # Example3: 1
 # 2: 3

DEPENDENCIES

Error::Pure::Utils, Error::Pure::Output::Text, Exporter, List::MoreUtils, Readonly.

SEE ALSO

Error::Pure, Error::Pure::AllError, Error::Pure::Die, Error::Pure::Error, Error::Pure::ErrorList, Error::Pure::HTTP::AllError, Error::Pure::HTTP::Error, Error::Pure::HTTP::ErrorList, Error::Pure::HTTP::Print, Error::Pure::Output::Text, Error::Pure::Print, Error::Pure::Utils.

REPOSITORY

https://github.com/tupinek/Error-Pure

AUTHOR

Michal Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

 © Michal Špaček 2008-2014
 BSD 2-Clause License

VERSION

0.21