in reply to faster way to grep
Also, if you don't mind using unix grep, you can still use it and do post-processing, by opening the grep as a pipe:my @fileData = <FILE>; foreach my $fileLine (@fileData) {
open (DATA, "grep <string> <file-list> |"); while (<DATA>) {
|
|---|