[Xitami] CGI Perl scripts

Ewen McNeill xitami@lists.xitami.org
Mon, 31 Dec 2001 08:46:47 +1300


In message <qlou2u80essafl9cjt88eov26k7h7igg4b@4ax.com>, Bruce writes:
>In the following Perl script snipet, where would the URL
>be fit in exactly..
>======================>
><a href=\"$guestbookurl\">Guestbook</a>
>======================>

I'd imagine that $guestbookurl is defined somewhere towards the top of
the script and should be set to the URL of either the perl script or
some HTML page it generates (depends on how the script works).

>Also what do U mean by the term 
>
>>   "have a #! line as their first line"
>
>Which line and where is it found?

That would be the first line :-)  (Of the perl script.)  It should read
something like:

#! /usr/bin/perl

or similar.  For Xitami the important part is that it contains "perl" in
it.

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com