in reply to Re: Not renaming/moving files
in thread Not renaming/moving files

chomp removes the \n character from the string. If you read text data into perl, \n is not removed automatically.