Walter wrote: > $cgiNameValues{$_} =~ s/\"/\"/g; # Change quotes to HTML code Check out the HTML::Entities module. It will help you with the " stuff, but the newline translation you'll still have to do on your own. Now let's see if we can keep this list for FUN WITH PERL, not basic perl questions. John Porter ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org