Hi Monks!
I am trying to format the data in the hash "$row" before pushing it to @query_output, I am not sure if I am doing the right way.
Is there a better way of doing this?
Here is a sample of what I am trying:
...
my @query_output;my $new_row=();
while ( my $row = $data_handle->fetchrow_hashref ){
#push @query_output, $row;
$new_row = "First:", $row->{'NAME_ONE'}, " Last: ", $row->{'NAME_TW
+O'}, " CITY: " , $row->{'CITY'}, "ZIP:" ,$row->{'ZIP'};
push @query_output, $new_row;
}
...
Thanks for looking!