(rather than chop)local $/ = "\r\n"; chomp $string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A 'strange' character("^M") of contrasting color appearing unexpededly at the end of lines of a unix file. How can it be removed?
by Anonyrnous Monk (Hermit) on Dec 14, 2010 at 18:20 UTC |