in reply to How to remove a carriage return (\r\n)
perl -MData::Dumper -e ' $key = "test text\r\n"; local $/ = "\r\n"; chomp $key; print Dumper $key; [download]