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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/p5-autodie | 2.29 newest | none known | - | [email protected] | - |
| DragonFly | devel/p5-autodie | 2.29 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-autodie | 2.29 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-autodie | 2.29 newest | no 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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.29 | 2.29 | 2.29 | 2.29 | 2.29 |
| FreeBSD:14:quarterly | 2.29 | 2.29 | n/a | 2.29 | 2.29 |
| FreeBSD:15:latest | 2.29 | 2.29 | n/a | 2.29 | 2.29 |
| FreeBSD:15:quarterly | 2.29 | 2.29 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.29 | 2.29 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
p5-BSD-Resource>=0: devel/p5-BSD-Resourcep5-IPC-System-Simple>=0.12: devel/p5-IPC-System-Simplep5-Import-Into>=1.002004: devel/p5-Import-Intop5-Module-Runtime>=0: devel/p5-Module-Runtimep5-Sub-Identify>=0: devel/p5-Sub-Identify
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
| File | Size | SHA256 |
|---|---|---|
| autodie-2.29.tar.gz | 93396 | f5b77917e7004179c93ff8511c8a4c1ea19df3da6379f78b55b57791c45229bf |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.