in reply to Extract Block Of Text From Log
my $file = "t.txt";
local $/ = "NRG location";
open IN, "<", $file or die "IN: $!\n";
print /.*parameters after change\V*\n(.*\n)\V*NRG location/s while <IN
15 years from now, by which time it will be a completely different language
It's just a number, so who cares?
Results (150 votes). Check out past polls.