It is pulling info from a html doc...here is the code for it.
<!c11ex6.html> <HTML> <HEAD><TITLE>Wicker Baskets, Inc.</TITLE></HEAD> <BODY bgcolor="#ffcccc"> <H1>Wicker Baskets Inc.</H1> <HR> <FORM ACTION="http://tinfoil.nsm.tridenttech.edu/cgi-bin/c11ex6.cgi" M +ETHOD=POST> <H2>Select a basket:</H2> <P><INPUT TYPE=radio NAME=Basket Value=0 CHECKED>One Pint Square<BR> <INPUT TYPE=radio NAME=Basket Value=1>One Quart Square<BR> <INPUT TYPE=radio NAME=Basket Value=2>One Quart Oblong<BR> <INPUT TYPE=radio NAME=Basket Value=3>Four Quart Square<BR> <INPUT TYPE=radio NAME=Basket Value=4>Four Quart Oblong</P> <P><INPUT TYPE=submit VALUE="Purchase This Basket"></P> </FORM></BODY></HTML>
As you can see from the above html code, when the user clicks a radio button, it sends the data to a cgi script. This was an exercise in the book we had to do for a graded assignment, with very confusing examples to help us. Just wanting to understand the process the script makes the cookie form the code I submitted, because the process seesm backward unless perl just executes in the no particular order.....

In reply to Re^2: Question regarding CGI and cookies by JOT007
in thread Question regarding CGI and cookies by JOT007

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.