in reply to Re: Use of wantarray Considered Harmful
in thread Use of wantarray Considered Harmful

$field = $sth->fetchrow_array();
The result of fetchrow_array in scalar context is undefined or at least undocumented.
The result is quite clearly documented, albeit having two possibilities in certain situations.

Replies are listed 'Best First'.
Re^3: Use of wantarray Considered Harmful
by ikegami (Patriarch) on Dec 14, 2008 at 03:30 UTC
    It's documented to be undefined, so I'm covered, but thanks for the clarification. I thought I had checked and found nothing. I fixed the post to which you replied.