BSD Ports

devel/p5-PerlX-Maybe 1.202 DragonFly

Return a pair only if they are both defined

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

Description

Moose classes (and some other classes) distinguish between an attribute being unset and the attribute being set to undef.

To ensure that the Person constructor does not try to set a name or age at all when they are undefined, ugly looking code is often used. A slightly more elegant solution is the maybe function.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-PerlX-Maybe1.202 newestnone known-[email protected]-
FreeBSDdevel/p5-PerlX-Maybe1.202 newestnone known-[email protected]-
OpenBSDdevel/p5-PerlX-Maybe1.202 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-PerlX-Maybe1.202nb3 newestnone known-[email protected]2026-07-16
HardenedBSDdevel/p5-PerlX-Maybe1.202 newestno data-[email protected]-
GhostBSDdevel/p5-PerlX-Maybe1.202 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-PerlX-Maybe

From DPorts:

cd /usr/dports/devel/p5-PerlX-Maybe && 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