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 кБ95 кБ [списък на файловете]