|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: CGI Error Handlingby Lucky (Scribe) |
| on Dec 10, 2001 at 17:13 UTC ( #130649=note: print w/ replies, xml ) | Need Help?? |
|
The simplest way to handle errors is eval block. It acts like java try{}catch{} statement. For example: For complex error handling Error.pm module exists. It's very useful for scripts with an object-oriented structure. Example: Looks like Java code :-)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||