my $text = $query->param('text'); $text =~ s/\\r\\n/<br>/; $query->param( -name => 'text', -value => $text ); [download]
In reply to Replacing line returns with br by dpatrick