in reply to Making a hash of arrays from a datafile
In addition to borisz's remarks, you should probably be a little more careful with comma-separated values, which have bitten quite a few people. What happens to your data if one of your values contains a comma? Are you dealing with quotes? You can use Text::CSV to address this problem and others. Even if it doesn't apply to your test code, I hope it helps you in the future.
--
Damon Allen Davison
http://www.allolex.net
In Section
Seekers of Perl Wisdom