Works, but when I try to anchor to beginning of line it produces no output.@MATCHING = grep /$SEARCH/i, @finfo;
Is this not the way to anchor?@MATCHING = grep /^$SEARCH/i, @finfo;
In reply to perl grep & anchor by Saved
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |