Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 1996 04:07:54 +1100
From:      davidn@sdev.usn.blaze.net.au (David Nugent)
To:        lleung@synesthesia.com (Lawrence Leung)
Cc:        questions@freefall.freebsd.org
Subject:   Re: perl script recognition
Message-ID:  <199611031707.EAA03476@sdev.usn.blaze.net.au>
In-Reply-To: <v03007800aea266d04e67@[205.208.54.100]>; from Lawrence Leung on Nov 3, 1996 10:23:07 -0500
References:  <v03007800aea266d04e67@[205.208.54.100]>

next in thread | previous in thread | raw e-mail | index | archive | help

--evf6ppmFHys1AiCM

Lawrence Leung writes:
> I've installed FreeBSD 2.1.5Release with Perl installed from the menus.
> Running perl scripts by directly calling the interpreter works fine, but
> the system does not want to run any scripts purely by typing in the name of
> the script (i.e. "myscript.pl").

Is . in your $PATH? (no, don't put it there, just type ./myscript.pl
instead).

Is the script executable?  If not, chmod +x myscript.pl


David Nugent, Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-791-9547 Data/BBS +61-3-792-3507 3:632/348@fidonet
davidn@blaze.net.au http://www.blaze.net.au/~davidn

--evf6ppmFHys1AiCM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia

iQCVAwUBMnvUR60PLjnMZgUtAQHDXwP/Q+78CnGFlINM88uopZqN4BmDcI60flB7
kywtbvaogy7dmwNMi0UerozIGlAw/uNz/geLfNq2kJ4669O8WMBRCIS0XJ+eh0ZG
lPohuk/fibp76IxoS3u6Uz748YENVuh7CM/vmLVBnYgIKBmQyGebyB94IQpJDNB1
D/MMOcTibWQ=
=aWeX
-----END PGP SIGNATURE-----

--evf6ppmFHys1AiCM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611031707.EAA03476>