in reply to Re: populate hash tab delimited
in thread populate hash tab delimited
Would below then allow me to check the contents of the hash? while (<INFILE>){ chomp; next unless (/\t/); my ($key, $value ) = split(/\t/, $_, 2); $values{$key}=$value; foreach $key (keys %value) { print OUTPUT "$values {$key}\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: populate hash tab delimited
by rhesa (Vicar) on Mar 08, 2006 at 14:37 UTC |