The theoretical difference is that cgiapp_init() and setup() should do things like set up your configuration vs. cgiapp_prerun() which should handle things like logging the request and setting up your per-request items. And, the same difference applies to cgiapp_postrun() (per-request) and teardown() (per-application).
In reply to Re: In CGI::Application cgiapp_prerun vs. cgiapp_init?
by dragonchild
in thread In CGI::Application cgiapp_prerun vs. cgiapp_init?
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |