in reply to In CGI::Application cgiapp_prerun vs. cgiapp_init?
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: In CGI::Application cgiapp_prerun vs. cgiapp_init?
by bradcathey (Prior) on Dec 12, 2005 at 18:28 UTC | |
by dragonchild (Archbishop) on Dec 12, 2005 at 18:37 UTC | |
by bradcathey (Prior) on Dec 12, 2005 at 19:30 UTC | |
by trwww (Priest) on Dec 14, 2005 at 16:50 UTC |