print $OF "\n"; while (my $ar=$ST->fetchrow_arrayref) { print $OF "\n"; } print $OF "
", join("", @{$ST->{NAME}}), "
", join("", @$ar), "
\n";