Paketname | libclass-data-inheritable-perl |
Beschreibung | Inheritable, overridable class data |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.08-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 64 Byte |
Hängt ab von | perl (>= 5.6.0-16) |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 8768 Byte |
Prüfsumme MD5 | e962ef11a5b2c7396609617af9f30460 |
Prüfsumme SHA1 | 8bfafac67f2fe04b2dad06599e1f23faef4ae2ae |
Prüfsumme SHA256 | 23690d324db3636f5b4a95a8f69820b90b16d799c8d3aa57696849a564d8b988 |
Link zum Herunterladen | libclass-data-inheritable-perl_0.08-1_all.deb |
Ausführliche Beschreibung | Class::Data::Inheritable is for creating accessor/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 overriden.
.
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;
|