Date: Tue, 25 Apr 2000 10:27:55 +0200 From: Marc Silver <marcs@draenor.org> To: "Vodyanoi.geo" <vodyanoi.geo@yahoo.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Problems with perl script Message-ID: <20000425102755.F36881@draenor.org> 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 References: <20000425082235.1942.qmail@web3003.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000425102755.F36881>