Becky has asked for the wisdom of the Perl Monks concerning the following question:
if (!$input =~ /\r\n/){ $input =~ s/\n/\r\n/gi; }
but with no luck. Any other ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: formatting newline characters
by princepawn (Parson) on Nov 05, 2002 at 15:40 UTC | |
|
Re: formatting newline characters
by fglock (Vicar) on Nov 05, 2002 at 15:59 UTC | |
by Becky (Beadle) on Nov 05, 2002 at 16:02 UTC | |
by zigdon (Deacon) on Nov 05, 2002 at 16:29 UTC | |
by FamousLongAgo (Friar) on Nov 05, 2002 at 16:20 UTC | |
by Anonymous Monk on Nov 05, 2002 at 17:09 UTC | |
by Becky (Beadle) on Nov 07, 2002 at 16:36 UTC |