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