Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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

by Anonymous Monk
on Apr 09, 2013 at 13:45 UTC ( #1027742=note: print w/replies, xml ) Need Help??

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 -> solve it for me, we don't have mod_perl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027742]
[shmem]: grappa, ginebra o amaretto?
[shmem]: LanX: tried strange stuff wrt autocomplete. No luck :(
[erix]: sambuca
[LanX]: machiato!
shmem fills a glas with sambuca, drops 3 beans of coffee into it, lights the stuff and hands it to erix
[Your Mother]: Liquore Strega. :P
[shmem]: s/beans of coffee/enterprise beans/ :-P
[erix]: Take your bottles -- you're all invited! :)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2017-03-28 12:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (330 votes). Check out past polls.