Just thinking logically, how would you expect the Perl interpreter to differentiate between quotes you wish to be included in the string and the string boundaries? Even if that did make sense, your code fragment doesn't even remain consistent. In line 38, you finish off the HTML tag and the string. Would you expect a dumb machine like a computer to be able to guess the meaning? Often, you don't even finish off your lines with semicolons- that's the first fatal mistake you need to clean up. If you think like the interpreter (line-by-line analysis), the problem will jump out at you. But, as with everything- practice, practice, practice...
side note- it's much cleaner to implement tables using CGI.pm.
Keep in mind that q and ' will interpret the string literally and qq and " will interpolate any vars in that string.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.