Perl module for rewrite die by err from Error::Pure module.
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
inc/Module
t/Error-Pure-Always
xt/Error-Pure-Always
.gitignore
.travis.yml
Always.pm
Changes
LICENSE
MANIFEST
MANIFEST.SKIP
META.yml
Makefile.PL
README
SIGNATURE
TODO

README

NAME
    Error::Pure::Always - Perl module for rewrite die by err from
    Error::Pure module.

SYNOPSIS
     use Error::Pure::Always;

     perl -MError::Pure::Always perl_script.pl

EXAMPLE1
     # Pragmas.
     use strict;
     use warnings;

     # Modules.
     use Error::Pure::Always;

     # Set env error type.
     $ENV{'ERROR_PURE_TYPE'} = 'Die';

     # Error.
     die '1';

     # Output:
     # 1 at example1.pl line 9.

EXAMPLE2
     # Pragmas.
     use strict;
     use warnings;

     # Modules.
     use Error::Pure::Always;

     # Set env error type.
     $ENV{'ERROR_PURE_TYPE'} = 'ErrorList';

     # Error.
     die '1';

     # Output something like:
     # #Error [path_to_script:12] 1

EXAMPLE3
     # Pragmas.
     use strict;
     use warnings;

     # Modules.
     use Error::Pure::Always;

     # Set error type.
     $Error::Pure::TYPE = 'AllError';

     # Error.
     die '1';

     # Output something like:
     # ERROR: 1
     # main  err  path_to_script  12

DEPENDENCIES
    Error::Pure.

SEE ALSO
    Task::Error::Pure
        Install the Error::Pure modules.

ACKNOWLEDGMENTS
    Thanks for Carp::Always module.

REPOSITORY
    <https://github.com/tupinek/Error-Pure-Always>

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

    <http://skim.cz>

LICENSE AND COPYRIGHT
     © 2012-2015 Michal Špaček
     BSD 2-Clause License

VERSION
    0.07