Saved has asked for the wisdom of the Perl Monks concerning the following question:
@MATCHING = grep /$SEARCH/i, @finfo;
working well, but want to anchor to start of line, tried
@MATCHING = grep /^$SEARCH/i, @finfo;
but did not get expected result.
All help appreciated, thanx
Thanx much for your response. I found my problem.
I am use Blank line separated records, and my code
is not searching for "lines" that start with, but
"records" that start with.
You have been of help a number of times, and it is appreciated.
Thank You