in reply to How to Remove Junk Characters

Could you show us what it looks like?

Post a sample to give us some idea.

Update:
Try this

my $file_cnt = $res->content; $file_cnt =~ s/\r//g;

update:
see below

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.