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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Religion | 1.04_1 |
| DragonFly | devel/p5-Religion | 1.04_1 |
| HardenedBSD | devel/p5-Religion | 1.04_1 |
| GhostBSD | devel/p5-Religion | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.04_1 | 1.04_1 | 1.04_1 | 1.04_1 | 1.04_1 |
| FreeBSD:14:quarterly | 1.04_1 | 1.04_1 | n/a | 1.04_1 | 1.04_1 |
| FreeBSD:15:latest | 1.04_1 | 1.04_1 | n/a | 1.04_1 | 1.04_1 |
| FreeBSD:15:quarterly | 1.04_1 | 1.04_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.04_1 | 1.04_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| Religion-1.04.tar.gz | 4528 | 8d286fc7f0126d2d28642bc0d4c20760b190c26630a5d5f4307fa408962e7b5f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.