Hey,
I couldn't get it to compile until I changed the following
{
my ($label, $name1, $name2, $name3, $name4) = split /:/;
$names{$label}{"first"} = $name1;
$names{$label}{"second"} = $name2;
$names{$label}{"third"} = $name3;
$names{$label}{"fourth"} = $name4;
}
...note the changes on $name1 and $name3....{$namex} to $namex;. I'm new at this, so should I have just left it alone? Is there something I just don't know?
john
Comment on Re: Re: Re: parsing text file into a hash?