*BSD News Article 56378


Return to BSD News archive

#! rnews 935 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!chi-news.cic.net!newsfeed.internetmci.com!in1.uu.net!news.greatis.com!usenet
From: Val Kulkov <val@greatis.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Scripts --> command not found error
Date: Sat, 02 Dec 1995 09:34:17 -0500
Organization: GREATIS USA, Inc.
Lines: 23
Message-ID: <30C063E9.69C8@greatis.com>
References: <Pine.SUN.3.90.951202080039.4234A-100000@conan.ids.net>
NNTP-Posting-Host: ntras01.greatis.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b3 (Win95; I)

Randall Hill wrote:
> 
> for example the script test.pl
> 
> #!/usr/bin/perl
> print "hello\n";
> 
> results in the following:
> pike>test.pl
> test.pl: Command not found.
> 
> while
> 
> pike>perl test.pl
> hello
> 
> works.
> 

Try executing './test.pl' instead of 'test.pl'

Good luck
Val