open FH, $filename || die $!; foreach (<FH>) { next unless $_ =~ /--from/; print $'; }; close FH;
Update - Removed the conditional 'untested' from the term solution
Ooohhh, Rob no beer function well without!
In reply to Re: Array Search
by rob_au
in thread Array Search
by IPstacks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |