Mehta, Perdeep wrote: > Super! this works. > > I have one question, what are those spaces in between when I > print as below, e.g.
It looks like you don't need an array. If you want just one long string,
replace
push @{$hash{$acc}}, $line;
with
$hash{$acc} .= $line;
- Mark.
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
