in reply to
"Pattern Matching", not using regex
grep -B 1 'yourinput' yourfile
its not perl, but it is a lot more effective.
T
I
M
T
O
W
T
D
I
Comment on
Re: "Pattern Matching", not using regex
Download
Code
In Section
Seekers of Perl Wisdom