in reply to
How to write better code?
Assuming your string comes from a CGI query, following code is the shortest and works best for your use. It will display nicely in HTML format.
use CGI; print CGI->new->Dump;
[download]
I would suggest that use read 'Perl Best Practices' book.
--Artist
Comment on
Re: How to write better code?
Download
Code
In Section
Seekers of Perl Wisdom