Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libmoosex-classattribute-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libmoosex-classattribute-perl  ]

软件包: 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.

其他与 libmoosex-classattribute-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 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
    或者 perl (>= 5.25.1)
    Larry Wall's Practical Extraction and Report Language
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libmoosex-classattribute-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 31.8 kB95 kB [文件列表]