But I'm not sure how I can get it to only print text that is after my search string.open FILE, $filename or die "Can't open file: $!/n"; while (<FILE>) { $data = <FILE>; $foo = grep $data ("--from"); print $foo; } close FILE;
In reply to Array Search by IPstacks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |