Package : perl-Object-Declare

Package details

Summary: Declarative object constructor

Description:
This module exports one function, 'declare', for building named objects
with a declarative syntax, similar to how the Jifty::DBI::Schema manpage
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.

Using a flexible 'import' interface, one can change exported helper
functions names (_declarator_), words to link labels and values together
(_copula_), and the table of named classes to declare (_mapping_):


URL: http://search.cpan.org/dist/Object-Declare
License: GPL+ or Artistic

Maintainer: nobody

List of RPMs