Fri, 13 Nov 2026 00:54:57 UTC Log in
Declare class attributes Moose-style 56.62 KB built 2026-10-16 22:26:08 GMT

Description

This module 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), and attribute metaclasses, and it 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 it.

Dependencies

21 total
Requires20
  • make
  • perl(ExtUtils::MakeMaker) >= 6.76
  • perl(Moose) >= 2.00
  • perl(Moose::Exporter)
  • perl(Moose::Meta::Role::Attribute)
  • perl(Moose::Role)
  • perl(Moose::Util)
  • perl(Moose::Util::MetaRole)
  • perl(MooseX::Role::Parameterized)
  • perl(Scalar::Util)
  • perl(Test::Fatal)
  • perl(Test::More) >= 0.88
  • perl(Test::Requires) >= 0.05
  • perl(namespace::autoclean) >= 0.11
  • perl(namespace::clean) >= 0.20
  • perl(strict)
  • perl(warnings)
  • perl-generators
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • perl-MooseX-ClassAttribute = 0.29-29.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots