Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libobject-declare-perl

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; } };

Homepage:
Package version:0.22-2
Architecture:all
Distribution:Debian
Filename:libobject-declare-perl_0.22-2_all.deb

/usr/share/man/man3/Object::Declare.3pm.gz

Object::Declare(3User Contributed Perl DocumentaObject::Declare(3pm)



NAME
       Object::Declare - Declarative object constructor

SYNOPSIS
           use Object::Declare ['MyApp::Column', 'MyApp::Param'];

           my %objects = declare {

           param foo =>
              !is global,
               is immutable,
               valid_values are qw( more values );

           column bar =
more»

/usr/share/doc/libobject-declare-perl/changelog.Debian.gz

libobject-declare-perl (0.22-2) unstable; urgency=low

  * debian/control:
    - replace tabs with spaces (closes: #479598) and improve spelling
    - switch Vcs-Browser field to ViewSVN
    - add /me to Uploaders
    - mention module name in long description
  * Set Standards-Version to 3.8.0 (no changes).
  * Don't install README anymore, just a text version of the POD.
  * Set debhelper compati
more»

/usr/share/doc/libobject-declare-perl/changelog.gz

[Changes for 0.22 - 2007-02-09]

* Allow declarations in copula callbacks as return value:

    copula => foo => sub { bar is 1, baz is 2 }

* No longer raise bogus "overload method not found" errors
  when paritally-formed declarations objects is e.g. printed
  out for debugging purposes.

[Changes for 0.21 - 2007-01-26]

* Helper functions for mapping keys are no longer present within
  dynamic 
more»

/usr/share/doc/libobject-declare-perl/copyright

Format-Specification:
    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
Ups
more»

Browse inside libobject-declare-perl_0.22-2_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libobject-declare-perl_0.22-2_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com