On Friday, April 26, 2002, at 10:28 , richard noel fell wrote:
> Drieux -
> Thanks. I altered the LABEL_FILE data format as you suggested and all
> works just fine now.
> Dick
you could of course generate the file in the form
key val
key1 val1
and then do the simpler shot to the hash
my %hash = (); # ok - i never trust anyone to initialize it right
while(<FH>) {
chomp;
/^(\S*)\s+(\S*)/;
$hash{ $1 } = $2;
}
and just skip going to the @array to begin with....
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]