Also, every time I generate an AUTOLOAD() function I add it to the symbol table like this:
*{$AUTOLOAD} = sub { return $_[0]->{$attr} };
How do you export AUTOLOADed functions, though? Exporting preloaded functions is easy but I can't quite figure out how to do the same for autoloaded ones.
In reply to Exporting AUTOLOADed methods? by session
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |