Kailua362,

A quick seach on Google leads me to think you've bought a copy of Perl & CGI for the World Wide Web: Visual QuickStart Guide. The author seems to mention CGI.pm, then proceeds to use a hand rolled parser, namely subparseform.lib. Furthermore, the author admits that subparseform.lib is less than optimal in that it doesn't handle "special characters" (e.g. @ $ < >) very well.

I'm hoping the author is using a simple CGI parser for illustrative reasons only and recommends using CGI.pm for everything else. If the author doesn't stress CGI.pm, I'd suggest taking a look at Ovid's "Web Programming Using Perl" Course. It's all online and it's free.

CGI.pm is the industry standard, is a part of the standard Perl installation, and most importantly it is safe and it works.

Aloha and Cheers!

Brent

-- Yeah, I'm a Delt.

Update: For a more complete discussion of why one should avoid using something besides CGI.pm, you should really look at this thread: use CGI or die.


In reply to Re: Differences between MAC and PC by dorko
in thread Differences between MAC and PC by Kailua362

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.