in reply to Re^3: Perl and HTML
in thread Perl and HTML

I already know how to use,set, and read in cookies. I just asked a simple question, why can't I get a simple answer. HOW do I run an cgi script from an HTML page.

Replies are listed 'Best First'.
Re^5: Perl and HTML
by Tanktalus (Canon) on Jul 07, 2005 at 01:18 UTC

    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.

      Well, then I don't get it. If it's not passiable to do, then why didn't someone just say that. All I asked is if I can run a cgi script from an html page. thats all I wanted to to know. I thought if you can run or load html from perl scripts why can't you do it the other way around. If it can't be done, then it can't be gone. Thats all I was asking. Thanks