libclass-autoloadcan-perl - module managing conflict between AUTOLOAD, can and inheritance

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libclass-autoloadcan-perl
Package version: 0.03
Package release: 1
Package architecture: all
Package type: deb
Installed size: 55 B
Download size: 11.13 KB
Official Mirror:
Class::AutoloadCAN solves a fundamental conflict between AUTOLOAD, can and inheritance. The problem is that while you can implement anything in AUTOLOAD, UNIVERSAL::can is not aware that it is there. Attempting to modify UNIVERSAL::can to document those methods is very hard. And if a parent class uses AUTOLOAD then subclasses have to do a lot of work to make their AUTOLOADs cooperate with the parent one. It is harder still if 2 parent classes in a multiple inheritance tree wish to cooperate with each other. Few try to do this, which may be good since those who try usually get it wrong. See for a fuller discussion. With this module instead of writing AUTOLOADs, you write CANs. Based on what they return, Class::AutoloadCAN will decide whether you handle the call or it needs to search higher up the inheritance chain.




    Source package: libclass-autoloadcan-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libclass-autoloadcan-perl deb package:
      # sudo apt-get install libclass-autoloadcan-perl


    • /usr/share/doc/libclass-autoloadcan-perl/README
    • /usr/share/doc/libclass-autoloadcan-perl/changelog.Debian.gz
    • /usr/share/doc/libclass-autoloadcan-perl/changelog.gz
    • /usr/share/doc/libclass-autoloadcan-perl/copyright
    • /usr/share/man/man3/Class::AutoloadCAN.3pm.gz
    • /usr/share/perl5/Class/


    2013-02-23 - Olivier Sallou <> libclass-autoloadcan-perl (0.03-1) unstable; urgency=low * Initial Release (Closes: #701456).