Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Did I get any records?by TheoPetersen (Priest) |
on Jul 18, 2001 at 01:31 UTC ( [id://97465]=note: print w/replies, xml ) | Need Help?? |
It sounds as if $RS is coming back as undef or a plain scalar if the SQL doesn't return any records. You should check the return value of $dbConn->Execute("$SQL") before entering the while loop.
In Section
Seekers of Perl Wisdom
|
|