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.
I would suggest that use read 'Perl Best Practices' book.use CGI; print CGI->new->Dump;
--Artist
|
---|
In Section
Seekers of Perl Wisdom