To determine the correct path for your perl interpretor, use:
which perl
--
John T Shea
There are 2 kinds of people in the world,
those who finish what they start ...
On 4/18/06, Ng, Bill <[EMAIL PROTECTED]> wrote:
First,
You're writing to a Win32 (Read: Windows) mailing list. =)
Second,
You're either missing or misspelling the path to the perl
interpreter as your first line in every script. Your first line should
always be:
-----------------
#!/usr/bin/perl (or whatever the path is to your perl binary)
-----------------
Hope this helps.
Bill Ng
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
bruce
Sent: Tuesday, April 18, 2006 3:22 PM
To: [email protected]
Subject: running a perl app
hi..
using linux. when i do "perl foo.pl" everything works ok. when i do
"./foo.pl" i get errors.. i've set the exe bit "chmod 775 foo.pl"...
any idea as to what's going on...
thanks
-bruce
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
