I just have a simple question, why can't I get a simple answer. HOW do I eliminate the US Federal deficit?

The reason why you can't get a simple answer is because you're not asking the question you really have. I think that you think that perl can be used like Javascript. That you can have some HTML file with perl embedded in it some way (like Javascript, which can be inline, or included, or both).

All respondants thus far already know you can't do that. Which is why they are presuming that you aren't asking how to do the impossible, or they are offering helpful advice on how to accomplish the same thing, but in a way that actually works. A simple "no, you can't do that," while correct, is not helpful, and, generally speaking, monks around here are helpful to a fault, tripping over each other to get those votes and experience points. (Or maybe just for the satisfaction of being first - not that the motivation behind being helpful is really that important.)

So you're getting many options available to you to actually accomplish what you want to accomplish, it just isn't doing this the way you think it should be done because you can't do it that way.

Monks often read much into questions to try to make sense of the question to be able to offer a helpful answer. Be glad they do - they're giving you very good advice. Try it out.

Just because there's more than one way to do it doesn't mean that every way is a way to do it.


In reply to Re^5: Perl and HTML by Tanktalus
in thread Perl and HTML by bigjoe11a

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.