The following module was proposed for inclusion in the Module List:
modid: AutoLoader::Register DSLIP: Rdphp description: Autoloads only registered methods userid: VPARSEVAL (Tassilo von Parseval) chapterid: 2 (Perl_Core_Modules) communities: comp.lang.perl.modules similar: AutoSplit, SelfLoader rationale: AutoLoader::Register takes via import() method-names along with either closures or stringified anonymous subs and makes itself a superclass of the class use()ing it. Calls to any of the registered methods will compile the code and mungle it into the caller's namespace so that further calls to the methods wont trigger the AutoLoader::Register::AUTOLOADER again. Apart from that it allows for custom exception-handling if an unknown method has been called. More to it, you can have AutoLoader::Register import arbitrary methods from arbitrary classes into your own class without the necessity of setting up an inheritance-relation. It provides its own can()-method so that even autoloaded methods will be correctly reported (as opposed to UNIVERSAL::can) enteredby: VPARSEVAL (Tassilo von Parseval) enteredon: Thu Mar 7 09:16:42 2002 GMT The resulting entry would be: AutoLoader:: ::Register Rdphp Autoloads only registered methods VPARSEVAL Thanks for registering, The Pause Team PS: The following links are only valid for module list maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=ec000000_ff9d552f9da9d196&SUBMIT_pause99_add_mod_preview=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=ec000000_ff9d552f9da9d196&SUBMIT_pause99_add_mod_insertit=1