Odd Perl interpreter problem

Jerry Feldman gaf at blu.org
Sat Dec 29 13:31:33 EST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

Josh,
The #!/usr/bin/perl should work. Make sure that this is in the first line 
of your script. Yes, you can run perl scripts manually.
perl [options] [script] [args...]
Josh Greenberg wrote:
> I am having an odd Perl problem on Slack 8.0 box.
> 
> I have #!/usr/bin/perl as interpreter line in scripts.
> I get "bad interpreter: no such file or directory" messages when trying to 
> run the script.
> which perl gives /usr/bin/perl
> I can run the script "manually" -- e.g. by entering /usr/bin/perl scriptname
> File permissions are fine
> 
> Anyone have any ideas how to fix -- probably something dumb, but annoying...
> 
> Thanks.
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
> 

- -- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 12/25/2001

iD8DBQE8LgwF+wA+1cUGHqkRAtzoAJ0Tn1SmKw8uRukM2vwZjiN0xBOYjwCeOyYU
AtLdhkSWoCglCUFwaNOnOGk=
=2A0U
-----END PGP SIGNATURE-----




More information about the Discuss mailing list