devel/p5-Struct-Dumb 0.16 FreeBSD
Make simple lightweight record-like structures
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 18.4 KiB, 45.9 KiB installed
Description
Struct::Dumb creates record-like structure types, similar to the struct keyword in C, C++ or C#, or Record in Pascal. An invocation of this module will create a construction function which returns new object references with the given field values. These references all respond to lvalue methods that access or modify the values stored.
It's specifically and intentionally not meant to be an object class. You cannot subclass it. You cannot provide additional methods. You cannot apply roles or mixins or metaclasses or traits or antlers or whatever else is in fashion this week.
On the other hand, it is tiny, creates cheap lightweight array-backed structures, uses nothing outside of core. It's intended simply to be a slightly nicer way to store data structures, where otherwise you might be tempted to abuse a hash, complete with the risk of typoing key names. The constructor will croak if passed the wrong number of arguments, as will attempts to refer to fields that don't exist.
In the other systems
The newest version among them is 0.16, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | devel/p5-Struct-Dumb | 0.16 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Struct-Dumb | 0.16 newest | no data | - | Sven <[email protected]> | 2026-08-27 |
| NetBSD | devel/p5-Struct-Dumb | 0.16nb1 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Struct-Dumb | 0.14 behind since 2026-08-27 | none known | - | [email protected] | - |
| MidnightBSD | devel/p5-Struct-Dumb | 0.16 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-Struct-Dumb | 0.16 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Struct-Dumb | 0.16 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Struct-Dumb
From the ports tree:
cd /usr/ports/devel/p5-Struct-Dumb/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Struct-Dumb>0:devel/p5-Struct-Dumb
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 | 0.16 | 0.16 | 0.13 | 0.14 | 0.16 |
| FreeBSD:14:quarterly | 0.16 | 0.16 | n/a | 0.14 | 0.16 |
| FreeBSD:15:latest | 0.16 | 0.16 | n/a | 0.14 | 0.14 |
| FreeBSD:15:quarterly | 0.16 | 0.16 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.16 | 0.16 | 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 1
p5-Test-Simple>=1.302200: devel/p5-Test-Simple
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 1
Required by 19
- databases/p5-Net-Async-CassandraCQL
- devel/p5-Devel-MAT
- devel/p5-Future-IO
- devel/p5-IO-Async
- devel/p5-Test-Refcount
- devel/p5-Tickit
- devel/p5-Tickit-Widget-Table
- devel/p5-Tickit-Widgets
- dns/p5-IO-Async-Resolver-DNS
- net-im/p5-Net-Async-XMPP
- security/p5-IO-Async-SSL
- sysutils/p5-OpenTelemetry-SDK
- textproc/p5-Text-Table-Any
- textproc/p5-Text-Table-TickitWidget
- www/p5-FCGI-Async
- www/p5-Gungho
- www/p5-GunghoX-FollowLinks
- www/p5-Net-Async-FastCGI
- www/p5-Net-Async-HTTP
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Struct/Dumb.pm
- %%PERL5_MAN3%%/Struct::Dumb.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Struct-Dumb-0.16.tar.gz | 21659 | ebc9032640777a5bf900a30de0e554356af9cd95101e512a34fe15535c682508 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.