in reply to C vs perl
sub MakePtag { my ($s) = @_; $s =~ s!\r\n!</p><p>!g; return "<p>$s</p>"; } [download]