BSD Ports

devel/p5-Return-Value 1.666.005nb10 NetBSD

Polymorphic Return Values

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
9.6 KiB, 26.1 KiB installed

Description

Polymorphic return values are really useful. Often, we just want to know if something worked or not. Other times, we'd like to know what the error text was. Still others, we may want to know what the error code was, and what the error properties were. We don't want to handle objects or data structures for every single return value, but we do want to check error conditions in our code because that's what good programmers do.

When functions are successful they may return true, or perhaps some useful data. In the quest to provide consistent return values, this gets confusing between complex, informational errors and successful return values.

This module provides these features with a simple API that should get you what you're looking for in each contex a return value is used in.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-Return-Value1.666.005nb10none known-[email protected]2026-07-16
FreeBSDdevel/p5-Return-Value1.666005 newestnone known-[email protected]-
OpenBSDdevel/p5-Return-Value1.666005p1 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-07-08
DragonFlydevel/p5-Return-Value1.666005 newestnone known-[email protected]-
MidnightBSDdevel/p5-Return-Value1.666005 newestno data-[email protected]-
HardenedBSDdevel/p5-Return-Value1.666005 newestno data-[email protected]-
GhostBSDdevel/p5-Return-Value1.666005 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install p5-Return-Value

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Return-Value && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.666.005nb10
NetBSD 10.1 aarch641.666.005nb10
SmartOS / illumos x86_641.666.005nb10
macOS 15 arm641.666.005nb10

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
Required by 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0