Paketname | libobject-declare-perl |
Beschreibung | Declarative object constructor |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.22-2 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 68 Byte |
Hängt ab von | perl (>= 5.6.0-16), libsub-override-perl |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 12324 Byte |
Prüfsumme MD5 | 8580fd8e885d502cfb6ad5916e73f282 |
Prüfsumme SHA1 | bc3ecc077d716ab388c13559a52d5e96e9637209 |
Prüfsumme SHA256 | e68a1989af629c408996582c2d381b2da429af5488284cda2df025df95f5026a |
Link zum Herunterladen | libobject-declare-perl_0.22-2_all.deb |
Ausführliche Beschreibung | Object::Declare exports one function, declare, for building named
objects with a declarative syntax, similar to how Jifty::DBI::Schema
defines its columns.
.
In list context, declare returns a list of name/object pairs in the
order of declaration (allowing duplicates), suitable for putting into a hash.
In scalar context, declare returns a hash reference.
.
Example: function for defining some declarative object
.
sub do_declare { declare {
column x =>
is rw,
is Very::Happy;
} };
|