my $text = $query->param('text'); $text =~ s/\\r\\n/
/; $query->param( -name => 'text', -value => $text );