Skip to content
Sections
>> Trisquel >> Пакети >> nabia >> perl >> libclass-data-accessor-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Източник: libclass-data-accessor-perl  ]

Пакет: libclass-data-accessor-perl (0.04004-2)

Inheritable, overridable class and instance data accessor creation

Class::Data::Accessor is the marriage of Class::Accessor and Class::Data::Inheritable into a single module. It is used for creating accessors to class properties that is overridable in subclasses as well as in class instances.

For example:

  Pere::Ubu->mk_classaccessor('Suitcase');

will generate the method Suitcase() in the class Pere::Ubu.

This new method can be used to get and set a piece of class property.

  Pere::Ubu->Suitcase('Red');
  $suitcase = Pere::Ubu->Suitcase;

Други пакети, свързани с libclass-data-accessor-perl

  • зависимости
  • препоръчани
  • предложени
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Изтегляне на libclass-data-accessor-perl

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 9,0 кБ26 кБ [списък на файловете]