in reply to Re^4: problem path stored in hash
in thread problem path stored in hash

If you want chomp to remove the "\r" then:
local $/ = "\r\n";
in your subroutine before you read the config file. chop only removes the last character, regardless of what it is.