if you do it without the parens, you will get the number of elements in the array,
No. It doesn't work that way.
fetchrow_array in scalar context will return the first or the last field (See DBI specification change). Which one is currently undefined, but with a query that returns only one value the issue is irrelevant.
In reply to Re: Re: fetching rows problem
by cchampion
in thread fetching rows problem
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |