[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: showing more errors


On 2004-11-17, 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.
>
> How can i make it give me more useful error messages ?

Andy Lester has an idea for finding getting more useful error messages
when you die an an eval block:

http://use.perl.org/~petdance/journal/18179

    Mark

-- 
http://mark.stosberg.com/ 


---------------------------------------------------------------------
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.