Paketname | libclass-data-inheritable-perl |
Beschreibung | Inheritable, overridable class data |
Archiv/Repository | Offizielles Ubuntu Archiv lucid (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 | Ubuntu MOTU Developers |
Quelle | |
Paketgröße | 8844 Byte |
Prüfsumme MD5 | 0c4eef7c5671a6e63354b06a621715bd |
Prüfsumme SHA1 | d61fde99923e3ab5253a425708e83e35abf61157 |
Prüfsumme SHA256 | 3e151267aa316f4fe2ef53375e5131afdb264acacb7d9e90244aa2b488d4f8b1 |
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;
|