Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 chanting in the Monastery: (8)
As of 2016-06-25 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.