in reply to Re: Seach for data that is on a different line from the search string
in thread Seach for data that is on a different line from the search string

Another way of doing this:
use 5.010; $/ = "\n--\n"; while ( defined(my $line = <$fh>) ){ say $1 if $line =~ /\b0x014E\b/ and $line =~ /^(Output: .+)/m; }
  • Comment on Re^2: Seach for data that is on a different line from the search string
  • Download Code