Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: libclass-autoloadcan-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Section: perl
4 Testsuite: autopkgtest-pkg-perl
5 Priority: optional
6 Build-Depends: debhelper-compat (= 13),
7 libmodule-build-perl
8 Build-Depends-Indep: perl
9 Standards-Version: 3.9.6
10 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-autoloadcan-perl
11 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-autoloadcan-perl.git
12 Homepage: https://metacpan.org/release/Class-AutoloadCAN
13
14 Package: libclass-autoloadcan-perl
15 Architecture: all
16 Depends: ${misc:Depends},
17 ${perl:Depends}
18 Multi-Arch: foreign
19 Description: module managing conflict between AUTOLOAD, can and inheritance
20 Class::AutoloadCAN solves a fundamental conflict between AUTOLOAD, can and
21 inheritance. The problem is that while you can implement anything in
22 AUTOLOAD, UNIVERSAL::can is not aware that it is there. Attempting to modify
23 UNIVERSAL::can to document those methods is very hard. And if a parent class
24 uses AUTOLOAD then subclasses have to do a lot of work to make their
25 AUTOLOADs cooperate with the parent one. It is harder still if 2 parent
26 classes in a multiple inheritance tree wish to cooperate with each other. Few
27 try to do this, which may be good since those who try usually get it wrong.
28 See http://www.perlmonks.org/?node_id=342804 for a fuller discussion.
29 .
30 With this module instead of writing AUTOLOADs, you write CANs. Based on what
31 they return, Class::AutoloadCAN will decide whether you handle the call or it
32 needs to search higher up the inheritance chain.