p5-Religion - Perl5 module to install die() and warn() handlers

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Quarterly i386
Package filename p5-Religion-1.04_1.txz
Package name p5-Religion
Package version 1.04
Package release 1
Package architecture i386
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/KJALB/Religion-1.04
License -
Maintainer perl@FreeBSD.org
Download size 7.60 KB
Installed size 13.72 KB
This is a second go at a module to simplify installing die() and warn()
handlers, and to make such handlers easier to write and control.
For most people, this just means that if use Religion; then you'll get
noticeably better error reporting from warn() and die(). This is especially
useful if you are using eval().
Religion provides four classes, WarnHandler, DieHandler, WarnPreHandler, and
DiePreHandler, that when you construct them return closures that can be
stored in variables that in turn get invoked by $SIG{__DIE__} and
$SIG{__WARN__}.  Note that if Religion is in use, you should not modify
$SIG{__DIE__} or $SIG{__WARN__}, unless you are careful about invoking
chaining to the old handler.
Religion also provides a TraceBack function, which is used by a DieHandler
after you die() to give a better handle on the current scope of your
situation, and provide information about where you were, which might
influence where you want to go next, either returning back to where
WWW: https://metacpan.org/release/KJALB/Religion-1.04


Package Version Architecture Repository
p5-Religion-1.04_1.txz 1.04 amd64 FreeBSD Ports Quarterly
p5-Religion-1.04_1.txz 1.04 i386 FreeBSD Ports Latest
p5-Religion-1.04_1.txz 1.04 amd64 FreeBSD Ports Latest
p5-Religion - - -


Name Value
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-Religion-1.04_1.txz
Source Package devel/p5-Religion

Install Howto

Install p5-Religion txz package:

# pkg install p5-Religion

See Also

Package Description
p5-Reply-0.42.txz Lightweight, extensible REPL for Perl
p5-ResourcePool-1.0107_1.txz Generic way to use connection caching for any kind of resources
p5-ResourcePool-Resource-DBI-1.0101_1.txz ResourcePool::Resource::DBI - A ResourcePool wrapper for DBI
p5-ResourcePool-Resource-Net-LDAP-1.0002_1.txz ResourcePool wrapper for Net::LDAP
p5-ResourcePool-Resource-SOAP-Lite-1.0103_2.txz ResourcePool wrapper for SOAP::Lite
p5-Resources-1.04_1.txz Perl5 module handling application defaults in Perl
p5-Return-MultiLevel-0.05.txz Return across multiple call levels
p5-Return-Type-0.005_3.txz Specify a return type for a function (optionally with coercion)
p5-Return-Value-1.666005.txz Return::Value - Polymorphic Return Values
p5-Rex-1.4.1.txz Perl framework for automation and systems administration
p5-Rinci-1.1.93.txz Language-neutral metadata for your code entities
p5-Role-Basic-0.13_2.txz Just roles. Nothing else
p5-Role-HasMessage-0.006.txz Thing with a message method
p5-Role-Identifiable-0.007.txz Thing with a list of tags
p5-Role-REST-Client-0.18.txz Perl extension for Rest Client Role