http://www.perlmonks.org?node_id=331871


in reply to Re: fetching rows problem
in thread fetching rows problem

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.