# if we get here, we can fetch the names of the fields my %fields = map { lc($_)=>1 } @{$sth->{NAME}};