From owner-freebsd-questions Fri May 22 02:59:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA19644 for freebsd-questions-outgoing; Fri, 22 May 1998 02:59:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA19621 for ; Fri, 22 May 1998 02:59:11 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.165]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Fri, 22 May 1998 11:56:23 +0200 Received: from neuron.webmore.de (malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) with ESMTP id LAA00585; Fri, 22 May 1998 11:37:33 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <35654182.69EC77ED@www.TransFar.com> Date: Fri, 22 May 1998 11:37:33 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: phj Subject: Re: Cgi/Perl Problem Cc: freebsd-questions@FreeBSD.ORG, Ken Blundell Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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