From owner-freebsd-questions Tue Apr 25 1:26:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from draenor.org (draenor.org [196.36.204.219]) by hub.freebsd.org (Postfix) with ESMTP id C22AB37BCA2 for ; Tue, 25 Apr 2000 01:26:42 -0700 (PDT) (envelope-from marcs@draenor.org) Received: from marcs by draenor.org with local (Exim 3.12 #1) id 12k0hH-000JYK-00; Tue, 25 Apr 2000 10:27:55 +0200 Date: Tue, 25 Apr 2000 10:27:55 +0200 From: Marc Silver To: "Vodyanoi.geo" Cc: FreeBSD Questions Subject: Re: Problems with perl script Message-ID: <20000425102755.F36881@draenor.org> References: <20000425082235.1942.qmail@web3003.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000425082235.1942.qmail@web3003.mail.yahoo.com>; from vodyanoi.geo@yahoo.com on Tue, Apr 25, 2000 at 01:22:35AM -0700 X-Operating-System: FreeBSD 3.4-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Strange. The default path for perl in FreeBSD is /usr/bin. So your first line should look: #!/usr/bin/perl Try use the which(1) command to find out where your perl is. :) Hope this helps. Cheers, Marc On Tue, Apr 25, 2000 at 01:22:35AM -0700, Vodyanoi.geo wrote: > I have a perl script and any time i tried to run it it > returns the error "bash: /usr/local/bin/test.pl: no > such file or directory" > but the file is there and i've checked and I am the > owner of the file and the permisions are set for owner > to have full (read write, and exec) and group to have > read/write and world none. > any ideas on what would cause this to happen? I've > checked and the shebang (#!/usr/sbin/perl5) is correct > (well the path is at least). > > __________________________________________________ > Do You Yahoo!? > Send online invitations with Yahoo! Invites. > http://invites.yahoo.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Lovers don't finally meet somewhere, They're in each other all along... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message