BSD Ports

devel/p5-Religion 1.04_1 FreeBSD

Perl5 module to install die() and warn() handlers

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
devel, perl5
Package size
7.7 KiB, 13.5 KiB installed

Description

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

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Religion1.04_1
DragonFlydevel/p5-Religion1.04_1
HardenedBSDdevel/p5-Religion1.04_1
GhostBSDdevel/p5-Religion1.04_1

Install

Binary package:

pkg install p5-Religion

From the ports tree:

cd /usr/ports/devel/p5-Religion/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Religion>0:devel/p5-Religion

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.04_11.04_11.04_11.04_11.04_1
FreeBSD:14:quarterly1.04_11.04_1n/a1.04_11.04_1
FreeBSD:15:latest1.04_11.04_1n/a1.04_11.04_1
FreeBSD:15:quarterly1.04_11.04_1n/an/an/a
FreeBSD:16:latest1.04_11.04_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Religion.3.gz
  • %%SITE_PERL%%/Religion.pm
distinfo 1
FileSizeSHA256
Religion-1.04.tar.gz45288d286fc7f0126d2d28642bc0d4c20760b190c26630a5d5f4307fa408962e7b5f
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.