[cgiapp] Runmodes always being called twice
Michael Peters
mpeters at plusthree.com
Wed Feb 4 13:24:10 EST 2009
kropotkin wrote:
> I have a form post to a url. The 'runmode' is passed as a form field. The
> 'instance script' is called and it instantiates its class. The
> subroutine/runmode is called. Twice.
>
> Do any obvious causes occur to anyone?
It's being called twice? Once by C::A during and once by your module? I'd use Carp::cluck in your
run mode to get a backtrace of where exactly your method is being called from.
--
Michael Peters
Plus Three, LP
More information about the cgiapp
mailing list