From wells@cs.utk.edu Wed Jul 23 18:27:27 1997 ================================================== Hi, > My tests indicate that 'chop' will remove the last character, new_line > or not, from any variable ... is this correct? That is correct. However, if you're using perl 5 (which is on the system here somewhere but is not the default... do "perl -version" to see what version you are using), you can use a function called chomp(), which is like a safer version of chop(). chomp() removes whatever is in the $/ (or the $INPUT_RECORD_SEPARATOR) variable, which by default is \n. If you're in paragraph mode, chomp() will remove all trailing newline characters. Hope this helps... -- Elton