The problem with that is that he isn't doing a one-for-one compare between the two things, he's checking to see if one contains the other (hence the regex). Which make sthe whole problem rather harder.
if ($record->[1] =~ /$data->[0]/) {
Examine what is said, not who speaks.
In reply to Re: Re: More efficient Data Structure needed
by BrowserUk
in thread More efficient Data Structure needed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |