And that's what perlmonks is good for: help you learning, not writing your code.
Two small hints: take a look at split, and consider storing one of your arrays in a hash.
In reply to Re: checking the matches
by moritz
in thread checking the matches
by tweetymonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |