In essence, you instruct perl to print the contents of the page. There are
different ways of actually doing this, but two that come to mind are:

1) print the entire html document from perl. The cgi script prints the
contents header as well as the regular html file, e.g., print "Content-type:
text/html\n\n";

2) embed perl in server side includes, something like <!--exec
cgi="name_of_script.pl" -->

There are packages that allow printing of the contents header, etc., for
example cgi-lib.pl

Tim

> -----Original Message-----
> From: GreenLight [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 21, 2002 1:04 PM
> To: [EMAIL PROTECTED]
> Subject: How do I config to get a Perl script to execute?
>
>
> I am a newbie to Perl CGI scripting, but not to Perl or server-side
> scripting in general.
>
> I have used PHP extensively, and it is embedded in the HTML like this:
>
> <?PHP (write your PHP code here) ?>
>
> How do I get a page based on Perl to work?
>
>
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to