chomp (my @lines = grep (!/^fail/, <>)); [download]
In reply to Re^2: Parsing text file question by neniro in thread Parsing text file question by sashac88