Port details on branch 2022Q2 |
- p5-Religion Perl5 module to install die() and warn() handlers
- 1.04_1 devel =2 1.04_1Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: unknown
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: p5-GnuPG-Interface, mscompress
- Also Listed In: perl5
- License: not specified in port
- WWW:
- https://metacpan.org/release/KJALB/Religion-1.04
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Religion>0:devel/p5-Religion
- To install the port:
- cd /usr/ports/devel/p5-Religion/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Religion
- pkg install p5-Religion
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Religion
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Religion-1.04.tar.gz) = 8d286fc7f0126d2d28642bc0d4c20760b190c26630a5d5f4307fa408962e7b5f
SIZE (Religion-1.04.tar.gz) = 4528
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Religion
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|