When Perl dispatches a method call, it may not find an appropriate method to invoke. In that case, it will dispatch to a special method called AUTOLOAD as a last resort. This allows you to do whatever's appropriate for your class in the case of a missing method.
You can catch errors in this fashion or write really simple proxy or delegation systems. Some code uses this to compile code as necessary, but that's not really as useful in my opinion.
In reply to Re: What is autoloading?
by chromatic
in thread What is autoloading?
by perlsyntax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |