NAME

Error::Pure::Print - Error::Pure module for simple error print.

SYNOPSIS

use Error::Pure::Print 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::Print qw(err);

# Error.
err '1';

# Output:
# 1

EXAMPLE2

# Pragmas.
use strict;
use warnings;

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

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

# Output:
# 1

EXAMPLE3

package Example3;

# Pragmas.
use strict;
use warnings;

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

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

package main;

# Pragmas.
use strict;
use warnings;

# Run.
Example3::test();

# Output:
# Example3: 1

DEPENDENCIES

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

SEE ALSO

Task::Error::Pure

Install the Error::Pure modules.

REPOSITORY

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

AUTHOR

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

http://skim.cz

LICENSE AND COPYRIGHT

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

VERSION

0.23