in reply to CGI::Application + run modes

My quesiton is this, is there a special runmode I can use to initialise appliaction(session) variables

Its called setup :) there is also cgiapp_prerun

Replies are listed 'Best First'.
Re^2: CGI::Application + run modes
by Anonymous Monk on Jul 29, 2011 at 14:29 UTC
    if I have warn "should run only once?"; in either setup or cgiapp_prerun I see it displayed in the logs each time I invoke my default runmode 'StartUp'.
      Yeah, and?
        I thought that either method would only run once per session?