Saved has asked for the wisdom of the Perl Monks concerning the following question:
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl grep & anchor
by Saved (Beadle) on Mar 30, 2010 at 12:16 UTC |