making fatal errors warnings
From: Edward Peschko (esp5_at_pge.com)
Date: 07/16/04
- Previous message: Mark Bowen: "How to insert CR/LF into Sql Server database?"
- Next in thread: Tim Johnson: "RE: making fatal errors warnings"
- Maybe reply: Tim Johnson: "RE: making fatal errors warnings"
- Reply: Tim Bunce: "Re: making fatal errors warnings"
- Reply: vadim_at_genego.com: "Re: making fatal errors warnings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Jul 2004 16:50:07 -0700 To: dbi-users@perl.org
hey all,
How do you make errors that are otherwise fatal, warnings?
I'm getting an oracle error which I think is a oracle bug (01801), and only
effects one row of an otherwise large, large table. I'd like to be able to trap
the error, skip the row, and load the rest of the table.. eval doesn't work, because
eval
{
while ($line = $sth->fetchrow_arrayref())
{
...
}
}
kills the whole loop, whereas I want to be able to terminate *one* row in the loop.
(and it seems to be overkill to wrap each call to fetchrow_arrayref() in an eval,
although I suppose I could do that..)
Thanks much,
Ed
- Previous message: Mark Bowen: "How to insert CR/LF into Sql Server database?"
- Next in thread: Tim Johnson: "RE: making fatal errors warnings"
- Maybe reply: Tim Johnson: "RE: making fatal errors warnings"
- Reply: Tim Bunce: "Re: making fatal errors warnings"
- Reply: vadim_at_genego.com: "Re: making fatal errors warnings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|