Debian logoDebian Screenshots >


declarative object constructor


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.



663 other people were interested in this package here. The newest known version of this software is 0.25-1 (Information last updated 2 days ago.)