libmoox-struct-perl 0.020-ok1 source package in openKylin
Changelog
libmoox-struct-perl (0.020-ok1) yangtze; urgency=medium * Build for openkylin. -- denghao <email address hidden> Wed, 31 Aug 2022 05:12:15 +0300
libmoox-struct-perl (0.020-ok1) yangtze; urgency=medium * Build for openkylin. -- denghao <email address hidden> Wed, 31 Aug 2022 05:12:15 +0300
Series | Published | Component | Section | |
---|---|---|---|---|
Huanghe V3.0 | proposed | main | perl | |
Huanghe V3.0 | release | main | perl | |
Nile V2.0 | proposed | main | perl | |
Nile V2.0 | release | main | perl | |
Yangtze V1.0 | release | main | perl | |
Yangtze V1.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
libmoox-struct-perl_0.020.orig.tar.gz | 33.0 KiB | e1e9b06d40311cd0f499d257c6b675dd4e4c936693da4cb7c25783af77cc5c9d |
libmoox-struct-perl_0.020-ok1.debian.tar.xz | 8.5 KiB | be085ad100074592b724aa8583aa7e92aff9a435213f4c67b2fa0a6a60dd5f58 |
libmoox-struct-perl_0.020-ok1.dsc | 2.0 KiB | 216fc5643362b0fe049750dc0d04dc6ada740bf8fc93205c122c8ec4276d8c23 |
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.