in reply to Re^4: 5.8.8 stat and file test fails
in thread 5.8.8 stat and file test fails
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: 5.8.8 stat and file test fails
by Anonymous Monk on Aug 19, 2008 at 15:16 UTC | |
|
Re^6: 5.8.8 stat and file test fails
by emwdrich (Initiate) on Aug 19, 2008 at 15:37 UTC | |
by gone2015 (Deacon) on Aug 19, 2008 at 17:46 UTC | |
by Anonymous Monk on Aug 20, 2008 at 05:38 UTC | |
by gone2015 (Deacon) on Aug 20, 2008 at 11:22 UTC |