Skip to content
Sections
>> Trisquel >> Packages >> etiona >> perl >> libmoosex-classattribute-perl
etiona  ] [  nabia  ] [  aramo  ]

Package: libmoosex-classattribute-perl (0.29-1)

module to declare class attributes Moose-style

MooseX::ClassAttribute allows you to declare class attributes in exactly the same way as object attributes, using class_has() instead of has().

You can use any feature of Moose's attribute declarations, including overriding a parent's attributes, delegation (handles), attribute traits, etc. All features should just work. The one exception is the "required" flag, which is not allowed for class attributes.

The accessor methods for class attribute may be called on the class directly, or on objects of that class. Passing a class attribute to the constructor will not set that attribute.

Other Packages Related to libmoosex-classattribute-perl

  • depends
  • recommends
  • suggests
  • dep: libmoose-perl
    modern Perl object system framework
  • dep: libnamespace-autoclean-perl
    module to remove imported symbols after compilation
  • dep: libnamespace-clean-perl
    module for keeping imports and functions out of the current namespace
  • dep: libscalar-list-utils-perl (>= 1:1.45)
    modules providing common scalar and list utility subroutines
    also a virtual package provided by perl-base
    or perl (>= 5.25.1)
    Larry Wall's Practical Extraction and Report Language
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Download libmoosex-classattribute-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 31.8 kB95 kB [list of files]