-
-
10 Apr 2005 06:18:27 UTC
- Browse (raw)
- Changes
- How to Contribute
- Issues (3)
- Testers (4167 / 0 / 0)
- Kwalitee
Bus factor: 0- 86.14% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (6.13KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.03
- Added strict. Originally this was left out because of how many symbolic references there are, but adding it caught one accidental global. (Which could have led to an object having a longer life than expected.)
- Removed an internal debugging hook (installed/_installed) that I used in development.
- Thanks to a suggestion from Joshua Jore (diotalevi on perlmonks) I noticed that Module::Build has "traditional" that I can use instead of "passthrough", thereby removing the dependency that users have Module::Build installed.
- Cleaned up the AUTOLOAD stuff. I find it bizarre that if I assign a typeglob to your classes AUTOLOAD, $AUTOLOAD is set in my class when that is called. Convenient, but bizarre.
- I only need to call the original UNIVERSAL::can on a call to can, not to AUTOLOAD. (If you reach AUTOLOAD, you know that it will fail to find anything with the original UNIVERSAL::can.)
- Removed use of no warnings. Together with the "traditional" change this should make my module work on Perl 5.005_04.
- While I'm at it, use a backwards compatibility trick. This module now has a chance of working all of the way back to 5.003.
- I had not duplicated all of Perl's message on missing methods. Improved compatibility and added tests.
- Changed the order of testing for CAN and checking installed. The new order is likely to be slightly more efficient. Not that anything else about this module is efficient...
Modules
Make AUTOLOAD, can and inheritance cooperate.Module Install Instructions
To install Class::AutoloadCAN, copy and paste the appropriate command in to your terminal.
cpanm Class::AutoloadCAN
perl -MCPAN -e shell install Class::AutoloadCAN
For more information on module installation, please visit the detailed CPAN module installation guide.