Don't ask to ask, just ask | |
PerlMonks |
Re: Scope is just not for Fresh Breathby 2501 (Pilgrim) |
on Dec 28, 2000 at 22:51 UTC ( [id://48660]=note: print w/replies, xml ) | Need Help?? |
I've had problems with fetchrow before if you are using a SQL function. i.e.: select max(price) from foo where bar In that case, fetchrow always returns something which triggers any loops to be true, but the value of what it returned could be null or intended as false. The max() function is somehow screwing with it. If I were to remove max() it would fail the loop. That problem caused much hair to be lost on my part:) I would be interested in seeing the query.
In Section
Seekers of Perl Wisdom
|
|