but this does not work...That is not descriptive enough, and you haven't shown enough of your code, but here are a couple suggestions:
chomp @list;
print grep (/^\Q$test/,@large);
In reply to Re: emulate "fgrep -f file" with results ordered by "file"
by toolic
in thread emulate "fgrep -f file" with results ordered by "file"
by coldy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |