BSD Ports

devel/p5-autodie 2.29 FreeBSD

Replace functions with ones that succeed or die with lexical scope

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
64.7 KiB, 154.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
FreeBSDdevel/p5-autodie2.29 newestnone known-[email protected]-
DragonFlydevel/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 the ports tree:

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

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

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

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:latest2.292.292.292.292.29
FreeBSD:14:quarterly2.292.29n/a2.292.29
FreeBSD:15:latest2.292.29n/a2.292.29
FreeBSD:15:quarterly2.292.29n/an/an/a
FreeBSD:16:latest2.292.29n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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

As this port's Makefile names them.

Test 5

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 18
  • %%SITE_PERL%%/Fatal.pm
  • %%SITE_PERL%%/autodie.pm
  • %%SITE_PERL%%/autodie/Scope/Guard.pm
  • %%SITE_PERL%%/autodie/Scope/GuardStack.pm
  • %%SITE_PERL%%/autodie/Util.pm
  • %%SITE_PERL%%/autodie/exception.pm
  • %%SITE_PERL%%/autodie/exception/system.pm
  • %%SITE_PERL%%/autodie/hints.pm
  • %%SITE_PERL%%/autodie/skip.pm
  • %%PERL5_MAN3%%/Fatal.3.gz
  • %%PERL5_MAN3%%/autodie.3.gz
  • %%PERL5_MAN3%%/autodie::Scope::Guard.3.gz
  • %%PERL5_MAN3%%/autodie::Scope::GuardStack.3.gz
  • %%PERL5_MAN3%%/autodie::Util.3.gz
  • %%PERL5_MAN3%%/autodie::exception.3.gz
  • %%PERL5_MAN3%%/autodie::exception::system.3.gz
  • %%PERL5_MAN3%%/autodie::hints.3.gz
  • %%PERL5_MAN3%%/autodie::skip.3.gz
distinfo 1
FileSizeSHA256
autodie-2.29.tar.gz93396f5b77917e7004179c93ff8511c8a4c1ea19df3da6379f78b55b57791c45229bf
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.