Help for this page

Select Code to Download


  1. or download this
    local $/ = 'END OF REPORT';
    while (<DATA>) {
    ...
            print "$line\n" if $line =~ /\*\sparameters after change\s=\*/
    + .. $line =~ /\*\sNRG location\s=/;
        }
    }
    
  2. or download this
    local $/ = 'END OF REPORT';
    while (<DATA>) {
        print "$1\n" if m/(^\*+\sparameters after change\s=\*+\n.+?^\*+\sN
    +RG location\s=\*+$)/ms;
    }