On Wed, 17 Nov 2004 11:32:02 -0400, Jeff MacDonald <suppressed> wrote:
> Hi,
>
> I'm writing up an app with cgi::app. Each time i get a fatal error ,
> the only error message i see in my lots is like this..
>
> Error executing run mode 'a_editAnimal': Undefined subroutine
> &peipork::editAnimal called at
> /usr/lib/perl5/site_perl/5.8.4/CGI/Application.pm line 144.
> at /var/www/localhost/htdocs/i360/jeff/peipork/cgi-bin/app.cgi line 10
>
> It never really gives many tips on what the actuall error is, just
> that it's something blowing up an eval loop somewhere in that run
> mode.
The line in CGI::Application is where the run mode is executed. It looks
like you setup your run modes with at the very least:
$self->run_modes(
'a_editAnimal' => 'editAnimal'
);
but that you don't have an 'editAnimal' method in your class.
> How can i make it give me more useful error messages ?
I actually found this message useful...
--
Matthew Weier O'Phinney
suppressed
http://weierophinney.net/matthew/
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.