alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: libmoox-struct-perl  ]

Paket: libmoox-struct-perl (0.020-2)

Länkar för libmoox-struct-perl

Screenshot

Debianresurser:

Hämta källkodspaketet libmoox-struct-perl:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Märken: Software Development: Perl Development, Bibliotek, Implemented in: Perl

Andra paket besläktade med libmoox-struct-perl

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta libmoox-struct-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 24,5 kbyte56,0 kbyte [filförteckning]