open(I,'<','error.log'); undef $/; $_ = ; print "$1\n" if /\s*HELPTEXT\s+(.*)\s*HELP/s;