in reply to Re^2: DBI fetchall_arrayref
in thread DBI fetchall_arrayref
Don't really need to fetchall if you're only accessing the first record. And you're probably going to find a hash a lot simpler to work with in most circumstances. What do you get if you do $sth->fetchrow_hashref() ?