Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 wandering the Monastery: (10)
As of 2015-07-06 23:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (85 votes), past polls