套件:libstruct-dumb-perl(0.12-1)
libstruct-dumb-perl 的相關連結
Debian 的資源:
下載原始碼套件 libstruct-dumb-perl:
- [libstruct-dumb-perl_0.12-1.dsc]
- [libstruct-dumb-perl_0.12.orig.tar.gz]
- [libstruct-dumb-perl_0.12-1.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [metacpan.org]
相似套件:
- libmoox-struct-perl
- libobject-pad-fieldattr-trigger-perl
- libmoosex-traits-perl
- golang-github-go-task-template-dev
- libobject-pad-fieldattr-trigger-perl-dbgsym
- python3-mistletoe
- golang-github-tendermint-go-wire-dev
- libmousex-getopt-perl
- mmmulti
- libmoosex-meta-typeconstraint-mooish-perl
- golang-github-mitchellh-mapstructure-dev
module to create simple lightweight record-like structures
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.
其他與 libstruct-dumb-perl 有關的套件
|
|
|
|
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language