Think about Loose Coupling | |
PerlMonks |
Re: Debugging: What's going on here?by mdillon (Priest) |
on May 23, 2000 at 20:23 UTC ( [id://14399]=note: print w/replies, xml ) | Need Help?? |
it sounds like /usr/bin/perl is not the path to your perl
interpreter (the error message is coming from bash, not perl).
if you are able to type "perl" on the command line and get
an interpreter, you should be able to change the first line
to "#! perl -w" and get it to work.
to figure out the location of your perl interpreter, type "which perl" at the bash prompt. also, try to run "perl test.pl", instead of relying on bash to figure it out, and see if you still have problems.
In Section
Seekers of Perl Wisdom
|
|