Syntactic Confectionery Delight | |
PerlMonks |
Re: trying to run a perl program in HTMLby tinman (Curate) |
on Apr 23, 2001 at 00:13 UTC ( [id://74591]=note: print w/replies, xml ) | Need Help?? |
You need to install a webserver on your computer.. use IIS, PWS, or even Apache for Win32.. Next, write a HTML form as so.. on your page.. Inside your launcher.pl CGI script (yes, you've writen a CGI script now), execute the Perl script that you want using exec or system or backticks like so..
It might be best if you restrict access to this script to ONLY your machine..
In Section
Seekers of Perl Wisdom
|
|