while (@data = $sth->fetchrow_array) { print "$data[2]\n"; }