For complex error handling Error.pm module exists. It's very useful for scripts with an object-oriented structure. Example:eval{ ...code...}; if ($@) { handle error }
Looks like Java code :-)use Error; try{ do something... }catch Error::Simple with{ handling... }finally{ ... }
In reply to Re: CGI Error Handling
by Lucky
in thread CGI Error Handling
by uwevoelker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |