Attached is a script that prints an error but keeps processing, though never
actually failing?  It actually failed on the one and only query since the
table name was mispelled, but proceeded to print the rest of the form.

Ilya Sterin

DBI 1.14
DBD::Oracle 1.06
OS Sun Solaris SunOS 5.7





-----Original Message-----
From: [EMAIL PROTECTED]
To: Sterin, Ilya
Cc: Stephen Clouse; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: 05/06/2001 10:47 PM
Subject: Re: executing atomic transactions in DBI

>>>>> "Sterin," == Sterin, Ilya <[EMAIL PROTECTED]> writes:

Sterin> There is no || die anywhere in that eval?  Even with
Sterin> RaiseError => 1 turned on, in many cases the transaction does
Sterin> not fail, if not checking for some sort of return.

I think this is FUD.  My understanding is that RaiseError = 1
completely eliminates the need for || die on any DBI call.  If you
have examples to the contrary, please post them -- don't just rumor
about them.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
training!

sap_form.cgi

Reply via email to