libobject-declare-perl
declarative object constructor
Description
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;
} };
Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://metacpan.org/release/Object-Declare
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install libobject-declare-perl