Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: DBI returning error on selectrow_hashref

by dsb (Chaplain)
on Nov 28, 2005 at 17:04 UTC ( #512281=note: print w/ replies, xml ) Need Help??


in reply to Re: DBI returning error on selectrow_hashref
in thread DBI returning error on selectrow_hashref

Is it possible that this error occurs because the query returns no data? I seem to remember a similar message in a script of mine, but through debugging I found that the query was returning no results.


dsb
This @ISA my( $cool ) %SIG


Comment on Re^2: DBI returning error on selectrow_hashref
Re^3: DBI returning error on selectrow_hashref
by perrin (Chancellor) on Nov 28, 2005 at 17:22 UTC
    No, the error is caused by $dbh having nothing in it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-12-23 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (134 votes), past polls