notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
p5-failures Minimalist exception hierarchy generator
0.004 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-01-28 17:06:28
Last Update: 2025-01-28 16:48:45
Commit Hash: e860bee
Also Listed In: perl5
License: APACHE20
WWW:
https://metacpan.org/dist/failures
Description:
This module lets you define an exception hierarchy quickly and simply. Here were my design goals: - minimalist interface - 80% of features in 20% of lines of code - depend only on core modules (nearly achieved) - support hierarchical error types - identify errors types by name (class) not by parsing strings - leave (possibly expensive) trace decisions to the thrower Currently, failures is implemented in under 70 lines of code. Failure objects are implemented with Class::Tiny to allow easy subclassing (see custom::failures), but Class::Tiny only requires core modules, so other than that exception, the 'core only' goal is achieved.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (10 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-failures-0.004/catalog.mk
  2. /usr/local/share/licenses/p5-failures-0.004/LICENSE
  3. /usr/local/share/licenses/p5-failures-0.004/APACHE20
  4. lib/perl5/site_perl/custom/failures.pm
  5. lib/perl5/site_perl/failures.pm
  6. lib/perl5/site_perl/man/man3/custom::failures.3.gz
  7. lib/perl5/site_perl/man/man3/failures.3.gz
  8. @owner
  9. @group
  10. @mode
Collapse this list.
Dependency lines:
  • p5-failures>0:devel/p5-failures
To install the port:
cd /usr/ports/devel/p5-failures/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-failures
  • pkg install p5-failures
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-failures
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1736671125 SHA256 (failures-0.004.tar.gz) = fd2ca702402f22f5185b12942b5079bf95ad21cde3b97a7cf2e1919147463270 SIZE (failures-0.004.tar.gz) = 19646

Packages (timestamps in pop-ups are UTC):
p5-failures
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.0040.004-0.0040.004---
FreeBSD:13:quarterly--------
FreeBSD:14:latest0.0040.004-0.0040.004---
FreeBSD:14:quarterly--------
FreeBSD:15:latest0.0040.004n/a0.004n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-Class-Tiny>=0 : devel/p5-Class-Tiny
  2. perl5>=5.36<5.37 : lang/perl5.36
  3. perl5>=5.36<5.37 : lang/perl5.36
Runtime dependencies:
  1. p5-Class-Tiny>=0 : devel/p5-Class-Tiny
  2. perl5>=5.36<5.37 : lang/perl5.36
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_p5-failures
USES:
perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (13 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/D/DA/DAGOLDEN/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/D/DA/DAGOLDEN/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/failures/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/D/DA/DAGOLDEN/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/D/DA/DAGOLDEN/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/D/DA/DAGOLDEN/
  7. http://backpan.perl.org/authors/id/D/DA/DAGOLDEN/
  8. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/D/DA/DAGOLDEN/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/D/DA/DAGOLDEN/
  10. https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/
  11. https://cpan.metacpan.org/modules/by-module/failures/
  12. https://www.cpan.org/authors/id/D/DA/DAGOLDEN/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.004
28 Jan 2025 16:48:45
commit hash: e860bee508490c45f0223eab775af8a9ef595638commit hash: e860bee508490c45f0223eab775af8a9ef595638commit hash: e860bee508490c45f0223eab775af8a9ef595638commit hash: e860bee508490c45f0223eab775af8a9ef595638 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/p5-failures: Add p5-failures 0.004

This module lets you define an exception hierarchy quickly and simply.

Here were my design goals:
- minimalist interface
- 80% of features in 20% of lines of code
- depend only on core modules (nearly achieved)
- support hierarchical error types
- identify errors types by name (class) not by parsing strings
- leave (possibly expensive) trace decisions to the thrower

Currently, failures is implemented in under 70 lines of code.

Failure objects are implemented with Class::Tiny to allow easy subclassing (see
custom::failures), but Class::Tiny only requires core modules, so other than
that exception, the 'core only' goal is achieved.

Number of commits found: 1