MAIL PROTECTED]]Sent: Tuesday, October 29, 2002 1:30
PMTo: Mohanty, Debi (MED, TCS)Subject: RE: merging two
tabseparated text files.
I
don't get it. File 1 is clear. Could get file 2 too. But Not sure why the file
3 looks different if its manual merge or samplle file??
Can
you
Title: RE: Terrible at my logic
easy with hashes.
#untested
my %hash1;
my %hash2;
open(FILE1, $file1) || die "Can't open $file1 :
$!\n";
foreach my $line ()
{
chomp($line);
my @line = split(/ +/,$line);
my $key = $line[0];
$hash1{$key} = join(" ",@line);
}
close(FILE1);
Title: RE: Terrible at my logic
your
data does not match with the info... =(
-Original Message-From: Mohanty, Debi (MED, TCS)
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 29, 2002
12:46 PMTo:
[EMAIL PROTECTED]Subject: merging two
tabseparated text files.
Hi,
Pl