Aloha, I am new to PERL and CGI. I can not understand why I get different results between my MAC and a PC. The MAC displays the Teacher Input I want, while the PC includes the Submit Button. I just want one field. Any and all suggestions are welcome.
#!/usr/local/bin/perl require "subparseform.lib"; &amp;amp;Parse_Form; print "Content-type: text/html\n\n"; print "<body bgcolor=#ffffcc>"; print "<p><font color=#006633 size=5><div align=center>Lanikai Element +ry Teacher Input </div align=center></font><br><font color=#006633 si +ze=4><div align=center>Career and Life Skills Grade 6</div align=cen +ter></font></p>"; foreach $key (sort keys(%formdata)) { if ($formdata{$key} ne ""){ print "<P><i>Your Teacher input is:</i> <B>$formdata{$key}</B>\n"; } } print "\n<p><font color=#FF0000 size=4><div align=center>You may now c +lose this window</div align=center></font></p>"; print"</body bgcolor>";
http://216.97.42.123/lanikai/test/K-3/index_K-3.html Mahalo Joseph Guillaume

guillaum@pixi.com

http://www.pixi.com/~guillaum


In reply to 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.