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

Пакет: libclass-data-inheritable-perl (0.08-3)

Perl module to create accessors to class data

Class::Data::Inheritable is for creating accessors/mutators to class data. That is, if you want to store something about your class as a whole (instead of about a single object). This data is then inherited by your subclasses and can be overridden.

For example:

Pere::Ubu->mk_classdata('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 data.

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

Другие пакеты, относящиеся к libclass-data-inheritable-perl

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

Загрузка libclass-data-inheritable-perl

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 7,9 Кб22 Кб [список файлов]