Paketname | libclass-trait-perl |
Beschreibung | An implementation of Traits in Perl |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.31-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 196 Byte |
Hängt ab von | perl (>= 5.6.0-16), libclass-accessor-perl |
Empfohlene Pakete | |
Paketbetreuer | Alexander Zangerl |
Quelle | |
Paketgröße | 52984 Byte |
Prüfsumme MD5 | 28ead995c1c5dc70c612b3cb7241c1c9 |
Prüfsumme SHA1 | 56261f0fa0261121774745307129d6583acb7a56 |
Prüfsumme SHA256 | 02d3dace154752b58c938459b5c626fa308180bd76a59807a6eb0b25fedb6340 |
Link zum Herunterladen | libclass-trait-perl_0.31-1_all.deb |
Ausführliche Beschreibung | Traits are a simple composition mechanism for structuring
object-oriented programs. A Trait is essentially a parameterized set of
methods, which serves as a building block for classes and is the primitive
unit of code reuse. Unlike mixins and multiple inheritance, Traits do not
use inheritance as the composition operator. Instead, Trait composition
is based on a set of operators that are complementary to single
inheritance and result in better composition properties.
.
Traits are a core part of Perl 6 (called Roles there), and this module
implements traits for Perl 5.
|