Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 1997 14:09:27 +1000 (EST)
From:      Anthony Hill <ahill@interconnect.com.au>
To:        Dmitri Baranov <dima@stv.ee>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Perl script
Message-ID:  <Pine.BSI.3.91.970528140828.4231C-100000@tulpi.interconnect.com.au>
In-Reply-To: <19970527170950.09321@cola112.scsn.net>

next in thread | previous in thread | raw e-mail | index | archive | help
MMMmm - are you sure the perl executable is at usr/bin/perl ?



On Tue, 27 May 1997, Donald J. Maddox wrote:

> On Tue, May 27, 1997 at 05:47:58PM +0300, Dmitri Baranov wrote:
> [-- Warning: koi8-r is not compatible with your display.]
> 
> > Hello.
> > I have a problem I can't resolve.
> > 
> > I have a file (counter.cgi) in /usr/home/dima/cgi-bin directory.
> > The execution right is applied.
> > The first line of file is "#!/usr/bin/perl"
> > BUT !
> > when I am typing  ">counter.cgi" I got a
> > command not found.
> > It works only in ">perl counter.cgi" variant.
> > How can I start only "counter.cgi" ?
> 
> Probably, the current dir is not in your path, so type instead:
> > ./counter.cgi
>   ^^
>   
> -- 
> 
> 
>                                             Donald J. Maddox
>                                             (dmaddox@scsn.net)
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.970528140828.4231C-100000>