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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/p5-Return-Value | 1.666.005nb10 | none known | - | [email protected] | 2026-07-16 |
| FreeBSD | devel/p5-Return-Value | 1.666005 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Return-Value | 1.666005p1 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-07-08 |
| DragonFly | devel/p5-Return-Value | 1.666005 newest | none known | - | [email protected] | - |
| MidnightBSD | devel/p5-Return-Value | 1.666005 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-Return-Value | 1.666005 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Return-Value | 1.666005 newest | no data | - | [email protected] | - |
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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.666.005nb10 |
| NetBSD 10.1 aarch64 | 1.666.005nb10 |
| SmartOS / illumos x86_64 | 1.666.005nb10 |
| macOS 15 arm64 | 1.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.