libobject-declare-perl binary package in Ubuntu Xenial amd64
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;
} };
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2016-02-14 15:03:44 UTC | Published | Ubuntu Xenial amd64 | release | universe | perl | Optional | 0.23-1 | ||
|
|||||||||
Deleted | Ubuntu Xenial amd64 | proposed | universe | perl | Optional | 0.23-1 | |||
|
|||||||||
2016-02-14 15:04:08 UTC | Superseded | Ubuntu Xenial amd64 | release | universe | perl | Optional | 0.22-2 | ||
|