Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: Re: Error Handling Misconceptionby selk (Beadle) |
on Sep 04, 2003 at 04:18 UTC ( [id://288789]=note: print w/replies, xml ) | Need Help?? |
Make sure a header goes out to the browser before the die message. If your code dies before it had the chance to print the header, then you will likely get an error. I susally just do this at the beginning of my cgi:
Hope that helps, selk
In Section
Seekers of Perl Wisdom
|
|