in reply to CGI::Application - One time setup

Can someone please explain how, in CGI::Application to run code once per visit, so not once per click?

Use a persistent process, reuse the same object

See Re^3: In CGI::Application cgiapp_prerun vs. cgiapp_init?, Re: Refactor CGI::Application and supporting scrits

  • Comment on Re: CGI::Application - One time setup (scope/reuse/persistence)

Replies are listed 'Best First'.
Re^2: CGI::Application - One time setup (scope/reuse/persistence)
by Anonymous Monk on Apr 09, 2013 at 14:37 UTC
    Amazing, this and this -> http://www.cgi-app.org/index.cgi?FastCGI solve it for me, we don't have mod_perl