Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: libclass-adapter-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: Vincent Danjean <[email protected]>,
4 Ansgar Burchardt <[email protected]>
5 Section: perl
6 Testsuite: autopkgtest-pkg-perl
7 Priority: optional
8 Build-Depends: debhelper-compat (= 13),
9 perl
10 Standards-Version: 4.1.5
11 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-adapter-perl
12 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-adapter-perl.git
13 Homepage: https://metacpan.org/release/Class-Adapter
14
15 Package: libclass-adapter-perl
16 Architecture: all
17 Depends: ${misc:Depends},
18 ${perl:Depends}
19 Description: Perl implementation of the "Adapter" Design Pattern
20 The Class::Adapter class is intended as an abstract base class for creating
21 any sort of class or object that follows the Adapter pattern.
22 .
23 The term Adapter refers to a "Design Pattern" of the same name, from the
24 famous "Gang of Four" book "Design Patterns". Although their original
25 implementation was designed for Java and similar single-inheritance
26 strictly-typed language, the situation for which it applies is still valid.
27 .
28 An Adapter in this Perl sense of the term is when a class is created to
29 achieve by composition (objects containing other object) something that can't
30 be achieved by inheritance (sub-classing).
31 .
32 This is similar to the Decorator pattern, but is intended to be applied on a
33 class-by-class basis, as opposed to being able to be applied one object at a
34 time, as is the case with the Decorator pattern.