libmoox-struct-perl binary package in openKylin Yangtze V1.0 amd64
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.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2022-11-03 10:00:49 UTC | Published | openKylin Yangtze V1.0 amd64 | release | main | perl | Optional | 0.020-ok1 | ||
|
|||||||||
2022-09-28 12:46:00 UTC | Published | openKylin Yangtze V1.0 amd64 | proposed | main | perl | Optional | 0.020-ok1 | ||
|
|||||||||
2022-07-22 13:32:07 UTC | Deleted | openKylin Yangtze V1.0 amd64 | proposed | main | perl | Optional | 0.017-ok1 | ||
|