Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> perl >> libclass-data-inheritable-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libclass-data-inheritable-perl  ]

软件包: libclass-data-inheritable-perl (0.08-2)

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 8.6 kB54 kB [文件列表]