If the OP's data was indeed in a list, I'd probably opt for grep(), if grep(/$test/, @list).... The good thing about Perl, is TIMTOWTDI ;)
In reply to Re^4: Regex with variables
by stevieb
in thread Regex with variables
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |