Debian Codegraph @

debian/control

raw
1 Source: libobject-container-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: Marius Gavrilescu <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 libmodule-build-pluggable-cpanfile-perl
9 Build-Depends-Indep: libclass-accessor-perl <!nocheck>,
10 libexporter-autoclean-perl <!nocheck>,
11 libtest-base-perl <!nocheck>,
12 libtest-requires-perl <!nocheck>,
13 perl
14 Standards-Version: 4.6.1
15 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libobject-container-perl
16 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libobject-container-perl.git
17 Homepage: https://metacpan.org/release/Object-Container
18 Rules-Requires-Root: no
19
20 Package: libobject-container-perl
21 Architecture: all
22 Depends: ${misc:Depends},
23 ${perl:Depends},
24 libclass-accessor-perl
25 Recommends: libexporter-autoclean-perl
26 Description: module that provides a simple object container
27 Object::Container is an object container with an OO interface. It is
28 used to make singletons out of ordinary classes.
29 .
30 For example, if you want to have a single instance of WWW::Mechanize
31 throughout a program, you can do
32 Object::Container->register('WWW::Mechanize') somewhere and then you
33 can retrieve that instance of WWW::Mechanize from anywhere else with
34 Object::Container->get('WWW::Mechanize');
35 .
36 Class::Singleton is a similar module, which makes subclasses
37 singletons. Unlike Class::Singleton, Object::Container can make any
38 class a singleton.
39 .
40 Object::Registrar is another similar module, but it does not support
41 lazy loading.