Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> 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-base
    または 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 [ファイル一覧]