in reply to Not renaming/moving files

chomp $record ?

Replies are listed 'Best First'.
Re^2: Not renaming/moving files
by jethro (Monsignor) on Jan 27, 2010 at 04:07 UTC
    chomp removes the \n character from the string. If you read text data into perl, \n is not removed automatically.