Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 scrutinizing the Monastery: (10)
As of 2014-10-23 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (124 votes), past polls