Port details on branch 2022Q3 |
- p5-Struct-Dumb Make simple lightweight record-like structures
- 0.14 devel =0 0.14Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2014-07-15 11:42:20
- Last Update: 2023-03-21 19:20:18
- Commit Hash: 091339ae
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Struct-Dumb
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Struct-Dumb>0:devel/p5-Struct-Dumb
- To install the port:
- cd /usr/ports/devel/p5-Struct-Dumb/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Struct-Dumb
- pkg install p5-Struct-Dumb
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Struct-Dumb
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1677771113
SHA256 (Struct-Dumb-0.14.tar.gz) = 13c148536b10e28c6e0b4e132f29e4ca6e69b5749059c44157a27e84a5459436
SIZE (Struct-Dumb-0.14.tar.gz) = 18352
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Module-Build>=0.4206 : devel/p5-Module-Build
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Test dependencies:
-
- p5-Test2-Suite>=0 : devel/p5-Test2-Suite
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-Devel-MAT
- devel/p5-Future-IO
- devel/p5-IO-Async
- devel/p5-Tickit
- www/p5-Net-Async-HTTP
- for Run
-
- devel/p5-Devel-MAT
- devel/p5-Future-IO
- devel/p5-IO-Async
- devel/p5-Tickit
- www/p5-Net-Async-HTTP
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Struct-Dumb
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|