BSD Ports

devel/p5-autodie 2.29 DragonFly

Replace functions with ones that succeed or die with lexical scope

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
64.9 KiB, 156.0 KiB installed

Description

The autodie pragma provides a convenient way to replace functions that normally return false on failure with equivalents that throw an exception on failure.

The autodie pragma has lexical scope, meaning that functions and subroutines altered with autodie will only change their behaviour until the end of the enclosing block, file, or eval.

If system is specified as an argument to autodie, then it uses IPC::System::Simple to do the heavy lifting. See the description of that module for more information.

In the other systems

The newest version among them is 2.29, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-autodie2.29 newestnone known-[email protected]-
FreeBSDdevel/p5-autodie2.29 newestnone known-[email protected]-
HardenedBSDdevel/p5-autodie2.29 newestno data-[email protected]-
GhostBSDdevel/p5-autodie2.29 newestno data-[email protected]-

Install

Binary package:

pkg install p5-autodie

From DPorts:

cd /usr/dports/devel/p5-autodie && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.