Flyghost has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to parse a file, loaded that file into an array
and want to select lines in the array which have a certain
nick as the first argument of that line.
using @found = grep { /^$handle/ } @notes; for that.
Seems to work fine except when the $handle has a ^ as first
character. Anyway around this ?