Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: DBI false error

by mje (Curate)
on Sep 19, 2014 at 09:02 UTC ( #1101175=note: print w/replies, xml ) Need Help??

in reply to DBI false error

There are a few things that strike me I think you should fix first. 1. add use warnings 2. you use "$dbh->prepare(xx) or {}" and $sth->execute() or {} but you cannot put a block after or, it looks like a hash (if you enabled warnings you'd have seen that) 3. RaiseError => 1 negates having to do all those xxx or error tests 4. as RaiseError is enabled if your script did not die then there must be something wrong with your code testing for an error.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1101175]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2020-10-29 20:28 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (274 votes). Check out past polls.