The original problem was solved by adding a stupid $ to my code, instead of

print CGI->...

I now have

print $CGI->...

and that solved everything. I simply know too many languages that all have their quirks, and Perl is just another.

So, here is my current problem (related to the past). Where is documentation on how to use CGI.PM. I have seen that most online tutorials (that some of you have mentioned) are simply HTML-ized versions of the perl doc information in CGI.pm itself, and I have that. Specifically, here is what I want to do, there should be a way to do it, I don't know how.

I want to use $CGI->tr to generate a row of my table, and I want to give it an array which contains all of the cells that I want in that row. Each cell will just contain a string. There should be a way to do this, I don't know how, and would love to have documentation somewhere that tells me how to do things like this.


In reply to Re^2: help with start_table of CGI.pm by kmullin5016
in thread help with start_table of CGI.pm by kmullin5016

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.