Thank you Mark for your suggestions and Bill for your clarification.

Thanks a lot,
perdeep

Perdeep K. Mehta, PhD
Hartwell Center for Bioinformatics & Biotechnology
St. Jude Children's Research Hospital
Memphis, TN 38105-2794


-----Original Message-----
From: Thomas, Mark - BLS CTR [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 7:37 AM
To: Mehta, Perdeep
Cc: [EMAIL PROTECTED]
Subject: RE: [Perl-unix-users] reading records in a file


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

Reply via email to