in reply to Perl line endings: something broken in ActiveState Perl 5.8?
Okay... Your question is not IPC-related, but after reading that, Iusually remove line endings with
s/[\015\012]+//g;
Attention! If you have more than one consecutive line ending in your string, they will be reduced to 1...s/[\015\012]+/\015/g;
Update: The problem was not data related but really (Activestate-)Perl related. Sorry for wasting your time ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl line endings: something broken in ActiveState Perl 5.8?
by rduke15 (Beadle) on Oct 13, 2005 at 07:28 UTC | |
by Skeeve (Parson) on Oct 13, 2005 at 08:59 UTC |