Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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
Replies are listed 'Best First'.
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 meditating upon the Monastery: (8)
As of 2015-08-31 01:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (351 votes), past polls