in reply to Entering external data
I think you are looking for chomp ..
From the perlfunc docs relating to chomp.. "It's often used to remove the newline from the end of an input record ..."
Update: Here is a Tutorial about Basic Input and Output which might help.
-----Of all the things I've lost in my life, its my mind I miss the most.
|
---|
In Section
Seekers of Perl Wisdom