Hello,
Don't know how I missed this module for so long.
Currently, I have an application that runs on at an ISP using regular
CGI (no mod_perl). The application has about 40 scripts that interact with
150 subroutines and functions from a home-grown module.
Since mod_perl isn't available, I try to keep the amount of code
necessary for compilation at a minimum. I use Autoloader 'Autoload' to
break up the subroutines into individual files.
Needless to say, it ain't elegant. Some of the subroutines act as
functions, other act like the "run modes" (return HTML - i.e. menus).
Now as I understand after reading the various CGI::Application docs,
1) I move the scripts and menu returning subroutines into Run Mode Methods
within the application module.
2) I could take the oft-used functions/subroutines and put them into a
separate parent class application module.
Correct so far?
Each time the application module is called, are all run mode methods
compiled?
Are than any problems / tricks about calling functions from the parent class
application module into a run time method? Can you use exporter and
autoloader or do you need to load the entire parent module using the
cgiapp_init() method?
Thanks, Eric.
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]