套件:libmoox-struct-perl(0.020-1)
libmoox-struct-perl 的相關連結
Debian 的資源:
下載原始碼套件 libmoox-struct-perl:
- [libmoox-struct-perl_0.020-1.dsc]
- [libmoox-struct-perl_0.020.orig.tar.gz]
- [libmoox-struct-perl_0.020-1.debian.tar.xz]
維護小組:
外部的資源:
- 主頁 [metacpan.org]
相似套件:
simple lightweight record-like structures making sounds like cows
MooX::Struct allows you to create cheap struct-like classes for your data using Moo.
While similar in spirit to MooseX::Struct and Class::Struct, MooX::Struct has a somewhat different usage pattern. Rather than providing you with a "struct" keyword which can be used to define structs, you define all the structs as part of the "use" statement. This means they happen at compile time.
A struct is just an "anonymous" Moo class. MooX::Struct creates this class for you, and installs a lexical alias for it in your namespace. Thus your module can create a "Point3D" struct, and some other module can too, and they won't interfere with each other. All struct classes inherit from MooX::Struct.
其他與 libmoox-struct-perl 有關的套件
|
|
|
|
-
- dep: libb-hooks-endofscope-perl
- module for executing code after a scope finished compilation
-
- dep: libexporter-tiny-perl (>= 0.044)
- tiny exporter similar to Sub::Exporter
-
- dep: libmoo-perl
- Minimalist Object Orientation library (with Moose compatibility)
-
- dep: libnamespace-autoclean-perl
- module to remove imported symbols after compilation
-
- dep: libobject-id-perl
- unique identifier for any object
-
- dep: libtype-tiny-perl
- tiny, yet Moo(se)-compatible type constraint
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language