File: control

package info (click to toggle)
libobject-declare-perl 0.22-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 172 kB
  • ctags: 178
  • sloc: perl: 2,258; makefile: 15
file content (33 lines) | stat: -rw-r--r-- 1,274 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Source: libobject-declare-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: perl (>= 5.6.0), libsub-override-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: AGOSTINI Yves <agostini@univ-metz.fr>,
 Jaldhar H. Vyas <jaldhar@debian.org>,
 gregor herrmann <gregoa@debian.org>
Standards-Version: 3.8.0
Homepage: http://search.cpan.org/dist/Object-Declare/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libobject-declare-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libobject-declare-perl/

Package: libobject-declare-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libsub-override-perl
Description: 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;
      } };