That's probably one of the more "Perlish" ways of writing that. Your datafile's format sucks, which is your problem. Pretty code and sucky input generally don't mix. "A" input gets to play with "A" code. "C" input plays with "C" code. All the special cases.my %teams = map { lc } map { split /:\s+/ } map { chomp; $_ } <DATA>;
In reply to Re: Please fix my writing style
by dragonchild
in thread Please fix my writing style
by convenientstore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |