Paketname | libmoosex-setonce-perl |
Beschreibung | module providing write-once, read-many attributes for Moose |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.100471-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 60 Byte |
Hängt ab von | perl, libmoose-perl (>= 0.90), libtry-tiny-perl |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 5878 Byte |
Prüfsumme MD5 | 9e9c4b24fd7b40cd4b0960c58e0393fc |
Prüfsumme SHA1 | bd7de9496537267150c4bd3ed5cac105b390b5a8 |
Prüfsumme SHA256 | c31fc132cc7e83670bd4bae8a4a6e378c794cf86f50f33bb4caa141c7ad22287 |
Link zum Herunterladen | libmoosex-setonce-perl_0.100471-1_all.deb |
Ausführliche Beschreibung | MooseX::SetOnce provides the SetOnce attribute which lets your class have
attributes that are not lazy and not set, but that cannot be altered once
set.
.
The logic is very simple: if you try to alter the value of an attribute with
the SetOnce trait, either by accessor or writer, and the attribute has a
value, it will throw an exception.
.
If the attribute has a clearer, you may clear the attribute and set it again.
|