Difference between revisions of "Class-AutoloadCAN"

From Free Software Directory
Jump to: navigation, search
(Debian import)
 
(Added Debian link)
Line 1: Line 1:
 
{{Entry
 
{{Entry
|Status=
 
|User level=
 
|Submitted by=Debian import
 
|Computer languages=
 
 
|Name=Class-autoloadcan
 
|Name=Class-autoloadcan
|Submitted date=2013-03-20
 
 
|Short description=module managing conflict between AUTOLOAD, can and inheritance
 
|Short description=module managing conflict between AUTOLOAD, can and inheritance
|VCS checkout command=
 
 
|Full description=Class::AutoloadCAN solves a fundamental conflict between
 
|Full description=Class::AutoloadCAN solves a fundamental conflict between
 
AUTOLOAD, can and inheritance. The problem is that while you can
 
AUTOLOAD, can and inheritance. The problem is that while you can
Line 24: Line 18:
 
you handle the call or it needs to search higher up the
 
you handle the call or it needs to search higher up the
 
inheritance chain.
 
inheritance chain.
|Component programs=
 
 
|Homepage URL=https://metacpan.org/release/Class-AutoloadCAN/
 
|Homepage URL=https://metacpan.org/release/Class-AutoloadCAN/
 +
|Accepts cryptocurrency donations=No
 +
|Last review by=Bendikker
 +
|Last review date=2018/03/13
 +
|Submitted date=2013-03-20
 
|Is GNU=No
 
|Is GNU=No
}}
 
{{Import
 
|Date=2013-03-20
 
|Source=Debian import
 
|Source link=http://packages.debian.org/sid/libclass-autoloadcan-perl
 
 
}}
 
}}
 
{{Project license
 
{{Project license
 +
|License=Other
 +
|License copyright=© 2005, Ben Tilly <btilly@gmail.com>
 +
|License verified by=Debian
 
|License verified date=2013-03-20
 
|License verified date=2013-03-20
|License verified by=Debian
 
|License copyright=© 2005, Ben Tilly <btilly@gmail.com>
 
 
|License=Other
 
 
|License note=License: Artistic or GPL-1+
 
|License note=License: Artistic or GPL-1+
  
Line 60: Line 51:
 
   General Public License can be found in `/usr/share/common-
 
   General Public License can be found in `/usr/share/common-
 
   licenses/GPL-1'.
 
   licenses/GPL-1'.
 
 
}}
 
}}
 
{{Project license
 
{{Project license
 +
|License=Other
 +
|License copyright=© 2013, Olivier Sallou <osallou@debian.org>
 +
|License verified by=Debian
 
|License verified date=2013-03-20
 
|License verified date=2013-03-20
|License verified by=Debian
 
|License copyright=© 2013, Olivier Sallou <osallou@debian.org>
 
 
|License=Other
 
 
|License note=License: Artistic or GPL-1+
 
|License note=License: Artistic or GPL-1+
  
Line 89: Line 78:
 
   General Public License can be found in `/usr/share/common-
 
   General Public License can be found in `/usr/share/common-
 
   licenses/GPL-1'.
 
   licenses/GPL-1'.
 
 
}}
 
}}
 
{{Resource
 
{{Resource
 +
|Resource audience=Debian (Ref) (R)
 +
|Resource URL=https://tracker.debian.org/pkg/libclass-autoloadcan-perl
 +
}}
 +
{{Resource
 +
|Resource kind=Download
 
|Resource URL=https://metacpan.org/release/Class-AutoloadCAN/
 
|Resource URL=https://metacpan.org/release/Class-AutoloadCAN/
|Resource kind=Download
+
}}
 +
{{Software category}}
 +
{{Featured}}
 +
{{Import
 +
|Date=2013-03-20
 +
|Source=Debian import
 +
|Source link=http://packages.debian.org/sid/libclass-autoloadcan-perl
 
}}
 
}}

Revision as of 10:51, 13 March 2018


[edit]

Class-autoloadcan

https://metacpan.org/release/Class-AutoloadCAN
module managing conflict between AUTOLOAD, can and inheritance

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 http://www.perlmonks.org/?node_id=342804 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.



Download




Categories





Licensing

License

Verified by

Verified on

Notes

License

Other

Verified by

Debian

Verified on

20 March 2013

Notes

License: Artistic or GPL-1+

Artistic:

 This program is free software; you can redistribute it and/or
 modify it under the terms of the Artistic License, which comes
 with Perl.
 On Debian systems, the complete text of the Artistic License can
 be found in `/usr/share/common-licenses/Artistic'.

GPL-1+:

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation; either version 1, or
 (at your option) any later version.
 On Debian systems, the complete text of version 1 of the GNU
 General Public License can be found in `/usr/share/common-
licenses/GPL-1'.




Leaders and contributors

Resources and communication

AudienceResource typeURI
Perl (Ref)https://metacpan.org/release/Class-AutoloadCAN
Debian (Ref) (R)https://tracker.debian.org/pkg/libclass-autoloadcan-perl


Software prerequisites




Entry










"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.








Date 2013-03-20
Source Debian import
Source link http://packages.debian.org/sid/libclass-autoloadcan-perl

[[Category:]]



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.