Hello,

I'm running under NT with the latest Active State PERL and Embperl binary
distribution

I am trying to get an embperl program to run under CGI. I have the following
simple cgi program

#! c:\perl\bin\perl -wT

print "Content-type: text/html\n\n";

$template='c:\oracle\ora90\apache\apache\htdocs\scott4.epl';

HTML::Embperl::Execute($template);


The scott4.epl template looks like this

<HTML>
<HEAD>
  <TITLE>Please Work</TITLE>
</HEAD>

<BODY>
<H2>A Simple EmbPerl Document</H2>

[- $time="EMBPERL WORKS YES" -]

<P>Here is the localtime [+ $time +]:</P>

</BODY>
</HTML>

I can generate the HTML by using embpexec.bat against scott4.epl and that
works fine.

Simple right??? Yet when I execute it I get a blank screen and no errors in
the error_log.

Does anybody have any ideas?

Thank you
Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to