more useful options | |
PerlMonks |
Re: Making a hash of arrays from a datafileby allolex (Curate) |
on Oct 19, 2004 at 22:42 UTC ( [id://400689]=note: print w/replies, xml ) | Need Help?? |
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.
--
In Section
Seekers of Perl Wisdom
|
|