I have a couple forms for an in-house application. The user fills out the fields and then submits which update a back end Oracle database.

I have looked for examples but can't really find anything.

How is it best to catch errors when doing DBI stuff in web applications? Wrap the insert "code" in an eval statement? Croak or die statements? I am thinking eval because I can set autocommit to "off" and then do rollbacks if $@ has an error.

Suggestions?

Robert

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to