File: control

package info (click to toggle)
libobject-declare-perl 0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 196 kB
  • sloc: perl: 226; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,379 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: gregor herrmann <gregoa@debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13),
               libmodule-build-perl
Build-Depends-Indep: libsub-override-perl <!nocheck>,
                     perl
Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libobject-declare-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libobject-declare-perl.git
Homepage: https://metacpan.org/release/Object-Declare
Rules-Requires-Root: no

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