in reply to Re^2: Class::DBI error?
in thread Class::DBI error?
I'm guessing the 0's you are seeing are empty arrays in scalar context, which would happen if you got no records back. You might want to put in a quick check after your retrieve to make sure you are getting a record back. If no records are retrieved, $thread will be undef. Actually, you'll want code to catch this anyway and handle it nicely.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Class::DBI error?
by stonecolddevin (Parson) on Jun 10, 2005 at 12:09 UTC | |
by cbrandtbuffalo (Deacon) on Jun 10, 2005 at 12:14 UTC | |
by stonecolddevin (Parson) on Jun 10, 2005 at 12:16 UTC | |
by cbrandtbuffalo (Deacon) on Jun 10, 2005 at 12:24 UTC |