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 reply to Re: Making a hash of arrays from a datafile
by allolex
in thread Making a hash of arrays from a datafile
by redbeard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |