ports/devel/p5-Object-Declare/pkg/DESCR

8 lines
358 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
This module 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.