Date: Fri, 22 May 1998 11:37:33 +0200 (CEST) From: Malte Lance <malte@webmore.com> To: phj <phj@www.TransFar.com> Cc: freebsd-questions@FreeBSD.ORG, Ken Blundell <ken@osicom.net> Subject: Re: Cgi/Perl Problem Message-ID: <XFMail.980522113733.malte@webmore.com> In-Reply-To: <35654182.69EC77ED@www.TransFar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Have to drop in a correction ! neuron:~> which -a perl /usr/bin/perl /usr/local/bin/perl neuron:~> echo $PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11/bin:/usr/local/khoros220 0/bin:/usr/local/pvm3/lib:/usr/local/pvm3/bin/FREEBSD2 (/usr/local/bin/perl is perl-5.x) Due to my PATH /usr/bin/perl is found first. Make the first line in your cgi: #!/usr/local/bin/perl where /usr/local/bin/perl is your perl-5.x interpreter Malte On 22-May-98 phj wrote: > add /usr/local/bin into your PATH enviroment.maybe it right ? > > Ken Blundell wrote: > >> Hi All! I have a small problem here ;-)And, I hope I'm posting >> this to the right group.........FreeBSD 2.2.2, P-166, 64 MB RAM, 4.3 >> GB SCSI.I have a program wrtten in Perl 5 and it will not under Perl >> 4.e.g. if i say#perl thisprogramIt will not work at all (the program >> uses POSIX and cgi-lib.pl)but.....if i do this...#/usr/local/bin/perl >> thisprogramit works great!I'm trying to use this cgi from a web page, >> (Apache 1.2)The question is how do I use the Perl 5 engine from a web >> page?Any help would be appreciated.Thanks, Ken. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance <malte@webmore.com> Date: 22-May-98 Time: 10:06:01 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980522113733.malte>