in reply to Re: How do you embed a Perl script into an HTML document?
in thread How do you embed a Perl script into an HTML document?
So far nothing makes sense to me.
I'm using Windows XP.
I installed ActivePerl and have PerlScript in my registry.
I have tried very simple perl scripts:
<%@Language=PerlScript%>
<HTML>
<TITLE> PerlScript Test </TITLE>
<%
for($i=0; $i<=10; $i+=2) {
$Response->Write("");
$Response->Write("Hello World!
");
}
%>
</HTML>
I get the following error:
Error Type:
Active Server Pages, ASP 0129 (0x80004005)
The scripting language 'PerlScript' is not found on the server.
/PerlScript.asp, line 1
or if the asp file is called from an html file I just get
HTTP 500 - Internal server error.
I have PERL_SRC in my system variables and PERL in my path but no other PERL refernces.
I've tried to read all the PERL documentation but I'm getting nowhere and am ready to throw perl away and use C to access mysql.