I use AUTOLOAD when templating too.
I find that when building an application with CGI::Application, CGI::Session, and HTML::Template I have two types of subroutines:
The second set of subroutines I handle by having an AUTOLOAD test to see if the application was called with a run mode for which there exists a template. If so it just populates it with "standard" things and returns it.
In reply to Re^2: How many ways are there to use AUTOLOAD?
by skx
in thread How many ways are there to use AUTOLOAD?
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |