Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> 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 [文件列表]