![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: using has_selected_record() of Net::MySQLby critter (Acolyte) |
on Aug 11, 2005 at 11:54 UTC ( #482916=note: print w/replies, xml ) | Need Help?? |
Hi,
Maybe you can check on how many records you get returned. The CPAN pages mentions the next function:
I'm guessing that the has_selected_record returns always true because it can be run and will always return a value. I've never used this module but you could check and see what you get as return value. If this is a number you could change your check a bit perhaps to:
Just my 2 cents, Grtz, Critter
In Section
Seekers of Perl Wisdom
|
|