http://www.perlmonks.org?node_id=1027742


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