Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Hi your question has been answered but you are doing it the hard (and also insecure and unreliable) way by parsing the CGI input yourself. Whilst it is good to know how the CGI.pm library is the gold standard and comes highly recommended.

Here are a few links you may find useful. I answered a question like this today at Charecters problems - it shows you how to use CGI.pm to get your data as a hash and also how to output HTML with ease by using a herepage. For a run down on CGI.pm check out Use CGI or die; and No excuses about not using CGI.pm. You may also find good value in CGI Help Guide. To get to a really good CGI tutorial go to Ovid's home node and follow the link. This is the best online CGI tute - even if it is incomplete as yet. Small technical note - unlike C you dont need the parenths for print. print "Hello World!\n" is OK. Finally the New Monks node has lots of useful links to all sorts of perl stuff.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print


In reply to Re: A Beginner Apparently Sucks With Hashes... by tachyon
in thread A Beginner Apparently Sucks With Hashes... by relayeddeaction

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found