Click to See Complete Forum and Search --> : Execute Perl within HTML


GJaggi
09-19-2003, 06:54 AM
I am a novice programmer in Perl. I downloaded Samba server, ActivePerl from ActiveState, and am trying to make a webpage (using just HTML) which will contain a textarea and a submit button.

I want a user to go to that page, enter their Perl code in the textarea and click on Submit button. I want to execute that code and display the result back in an HTML page.

If you could guide me as how to proceed, it will be a good start for me to work in Perl on windows.

Thank you for your time and patience.

Sincerely,
GJaggi

Jeff Mott
09-19-2003, 09:50 AM
The CGI program you have the form going to will have to eval() the value of that textarea.