Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- daniel kaplan
September 20, 2004, 12:55 am
rate this thread
Re: DBI question in PERL
> soemtimes when i do a mysql select command, instead of getting zero for
> $matches, i get this:
> what gives?
The number itself is -1 being mistakenly treated as an unsigned int.
If I recall correctly, MySQL reports -1 rows returned when an error
occurred. Try checking to see what the errstr() method gives you, or
using the RaiseError option when you connect.
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org