Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 inc
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Always.pm
Octocat-spinner-32 Changes
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 META.yml
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
Octocat-spinner-32 SIGNATURE
Octocat-spinner-32 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
    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::HTTP::JSON, Error::Pure::JSON,
    Error::Pure::Output::JSON, Error::Pure::Output::Text,
    Error::Pure::Print.

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
    BSD license.

VERSION
    0.04

Something went wrong with that request. Please try again.