Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to write better code?

by artist (Parson)
on Dec 07, 2006 at 21:05 UTC ( #588470=note: print w/replies, xml ) Need Help??


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;
I would suggest that use read 'Perl Best Practices' book.
--Artist

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://588470]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2022-12-08 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?