File: control

package info (click to toggle)
libstruct-dumb-perl 0.09-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 140 kB
  • ctags: 4
  • sloc: perl: 227; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,823 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: libstruct-dumb-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 (>= 9),
               libmodule-build-perl (>= 0.400400),
               perl
Build-Depends-Indep: libtest-fatal-perl,
                     libtest-pod-perl
Standards-Version: 3.9.7
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libstruct-dumb-perl.git
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libstruct-dumb-perl.git
Homepage: https://metacpan.org/release/Struct-Dumb

Package: libstruct-dumb-perl
Architecture: all
Depends: ${misc:Depends},
         ${perl:Depends}
Description: module to create simple lightweight record-like structures
 Struct::Dumb creates record-like structure types, similar to the struct
 keyword in C, C++ or C#, or Record in Pascal. An invocation of this module
 will create a construction function which returns new object references with
 the given field values. These references all respond to lvalue methods that
 access or modify the values stored.
 .
 It's specifically and intentionally not meant to be an object class. You
 cannot subclass it. You cannot provide additional methods. You cannot apply
 roles or mixins or metaclasses or traits or antlers or whatever else is in
 fashion this week.
 .
 On the other hand, it is tiny, creates cheap lightweight array-backed
 structures, uses nothing outside of core. It's intended simply to be a
 slightly nicer way to store data structures, where otherwise you might be
 tempted to abuse a hash, complete with the risk of typoing key names. The
 constructor will croak if passed the wrong number of arguments, as will
 attempts to refer to fields that don't exist.