It looks like a trailing carriage return. Rip it out this way:
$new_file =~ tr/\r//d;
You could get rid of every unprintable character like this:
$new_file =~ s/[:^print:]//g;
In reply to Re^5: 5.8.8 stat and file test fails
by kyle
in thread 5.8.8 stat and file test fails
by emwdrich
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |