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
|
Source: libclass-prototyped-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper-compat (= 13),
perl,
libmodule-build-perl
Standards-Version: 3.9.6
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-prototyped-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-prototyped-perl.git
Homepage: https://metacpan.org/release/Class-Prototyped
Package: libclass-prototyped-perl
Architecture: all
Depends: ${misc:Depends},
${perl:Depends}
Suggests: libgraphviz-perl
Multi-Arch: foreign
Description: module for fast prototype-based OO programming in Perl
Class:Prototyped provides for efficient and simple prototype-based
programming in Perl. You can provide different subroutines for each
object, and also have objects inherit their behavior and state from
another object.
.
Class::Prototyped borrows heavily from the programming language Self.
The structure of an object is inspected and modified through mirrors,
which are created by calling "reflect" on an object or class that
inherits from Class::Prototyped.
.
Prototype-based programming is most useful when the cleanest way for code
to use a module is to subclass it, or when one finds oneself avoiding
this by passing anonymous subroutines as parameters to "new".
Prototype-based programming is also useful in situations that otherwise
require storing anonymous subroutines in databases, configuration files,
or text files, or when users of a module are expected to override
subroutines to change its behabior.
|