DBI in a web context
- From: sigzero@xxxxxxxxx (Robert Hicks)
- Date: Fri, 10 Nov 2006 15:40:22 -0500
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 and comments welcome?
Robert
.
- Follow-Ups:
- Re: DBI in a web context
- From: Chris
- RE: DBI in a web context
- From: Ron Reidy
- Re: DBI in a web context
- Prev by Date: RE: Bind variable question
- Next by Date: Re: DBD::ADO and Access IMAGE (OLE Object) fields...
- Previous by thread: Losing connection to server during query
- Next by thread: RE: DBI in a web context
- Index(es):