On Fri, Apr 22, 2011 at 2:55 PM, Dr.Ruud <rvtol+use...@isolution.nl> wrote:
> On 2011-04-22 19:11, sono...@fannullone.us wrote:
>
>> What is the best way to embed perl in an HTML file that is _not_ located
>> under the cgi-bin directory?
>
> I don't understand why you involve cgi-bin in your question, but maybe you
> are looking for PLP: http://search.cpan.org/~shiar/PLP/
>

^^ would be cool if it didn't look so ridiculous :)
i didn't really understand why he mentioned cgi either but let it
fall. i guess i shouldn't have sense most people don't realize that
cgi has absolutely nothing to do with running programs on a web server
- it is a 'gateway interface' supported by web servers that allow a
client to send data to the server (using get, post, delete, and insert
iirc). again, cgi has nothing to do with *running* a program, sending
data to the client, rendering a dom, running js - NOTHING! it is just
a *limited* framework for a client to send data to a server.

and, when i say 'limited', i really do mean that. look at socket.io to
start reading on how cgi fails if you want.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to