Are you using chomp?
Martin
In reply to Re^2: perl beginner question by marto in thread perl beginner question by Anonymous Monk