Name : perl-MooX-Struct
| |
Version : 0.20.0
| Vendor : Mageia_Org
|
Release : 1.mga8
| Date : 2020-02-28 19:41:05
|
Group : Development/Perl
| Source RPM : perl-MooX-Struct-0.20.0-1.mga8.src.rpm
|
Size : 0.07 MB
| |
Packager : tv < tv>
| |
Summary : Make simple lightweight record-like structures that make sounds like cows
|
Description :
MooX::Struct allows you to create cheap struct-like classes for your data using the Moo manpage.
While similar in spirit to the MooseX::Struct manpage and the Class::Struct manpage, 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.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/8/i586/media/core/release |