Kozz has asked for the wisdom of the Perl Monks concerning the following question:
I've got a small perl script which has been giving me an error, so I made a copy of it and began removing large chunks of it. Believe it or not, I am now left with a "Hello, World!" script that's giving me errors?
and the error I get is#!/usr/bin/perl print "Hello, world!\n";
Want to know what's even funnier? If I run this script with "-w" then it runs fine. I've typed & retyped the #!/usr/bin/perl several times to make sure there werent' any funky characters in there. What's going on? This must be something with my environment, and not the script?$ ./test.pl bash: ./test.pl: No such file or directory
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Debugging: What's going on here?
by mdillon (Priest) on May 23, 2000 at 20:23 UTC | |
Re: Debugging: What's going on here?
by jjhorner (Hermit) on May 23, 2000 at 20:22 UTC | |
I must be going *insane*!
by Kozz (Friar) on May 23, 2000 at 20:24 UTC | |
by ZZamboni (Curate) on May 23, 2000 at 21:33 UTC | |
RE: Debugging: What's going on here?
by dempa (Friar) on May 23, 2000 at 20:25 UTC | |
RE: Debugging: What's going on here?
by Apterigo (Scribe) on May 24, 2000 at 03:45 UTC | |
Re: Debugging: What's going on here?
by KM (Priest) on May 23, 2000 at 20:21 UTC |
Back to
Seekers of Perl Wisdom