in reply to Re: How many ways are there to use AUTOLOAD?
in thread How many ways are there to use AUTOLOAD?

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.

Steve
---
steve.org.uk
  • Comment on Re^2: How many ways are there to use AUTOLOAD?