Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd Perl interpreter problem



-----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-----





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org