> In a message dated Wed, 22 Dec 2004, Isaac Sherman writes:
>> Then, when, in the terminal, I typed: hw.pl while in the same directory, I
>> got the following message.
>> 
>> tcsh: hw.pl: Command not found.
>> 
>> My meanderings in the Terminal showed that /usr/bin/perl does indeed exist.
>> I also tried chmod 755 on the file, but didn't change anything.
>> I'm running the latest version of Panther.

Wow, thanks for the quick and wide response.  Let's see.  With

> type this:
> perl hw.pl

it works!

Unfortunately, even after setting PATH, it still gives the same error,
whether I type ./hw.pl or just hw.pl.

Hmm.  I can now run scripts in their proper environment.  I just have to use
perl first; could this be a bad thing?

Anyway, thanks a bunch for setting my Perl odyssey on the right track!

-- 
Isaac Sherman
MotaSoft Software
http://www.motaSoftware.com/
Personal Protection Links:
http://www.safetyAndSecurity.us
http://www.m18.us


Reply via email to