File: control

package info (click to toggle)
libobject-declare-perl 0.23-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 160 kB
  • ctags: 8
  • sloc: perl: 231; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,415 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
34
35
36
37
38
Source: libobject-declare-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>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 9),
               libmodule-build-perl
Build-Depends-Indep: perl,
                     libsub-override-perl
Standards-Version: 3.9.7
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libobject-declare-perl.git
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libobject-declare-perl.git
Homepage: https://metacpan.org/release/Object-Declare

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