On Mon, 6 Nov 2000, Lyman Byrd wrote: > Would something like > ^\s+$ work? Yes. I prefer to: $line =~ s/\s+$//; next unless length $line; But you could also if ($line =~ /^\s+$/) { -- </chris> "Pinky, you've left the lens cap of your mind on again." - The Brain