dpatrick has asked for the wisdom of the Perl Monks concerning the following question:
my $text = $query->param('text'); $text =~ s/\\r\\n/<br>/; $query->param( -name => 'text', -value => $text );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Replacing line returns with br
by suaveant (Parson) on Jan 08, 2002 at 00:02 UTC | |
by Juerd (Abbot) on Jan 08, 2002 at 00:08 UTC | |
|
Re: Replacing line returns with br
by boo_radley (Parson) on Jan 08, 2002 at 00:01 UTC | |
|
Re: Replacing line returns with br
by Spudnuts (Pilgrim) on Jan 08, 2002 at 03:34 UTC | |
|
Re: Replacing line returns with br
by Nerdry (Initiate) on Jan 08, 2002 at 19:24 UTC | |
by screamingeagle (Curate) on Jan 08, 2002 at 22:50 UTC | |
by MrEgo (Initiate) on Jan 09, 2002 at 01:06 UTC | |
|
Re: Replacing line returns with br
by johanvdb (Beadle) on Jan 08, 2002 at 15:43 UTC | |
|
Re: Replacing line returns with br
by LordAvatar (Acolyte) on Jan 09, 2002 at 03:26 UTC | |
|
Re: Replacing line returns with br
by jerrygarciuh (Curate) on Jan 09, 2002 at 06:04 UTC | |
|
Re: Replacing line returns with br
by Anonymous Monk on Jan 09, 2002 at 10:13 UTC | |
|
Re: Replacing line returns with br
by dpatrick (Scribe) on Jan 12, 2002 at 00:14 UTC |