On Mar 9, 2008, at 11:12 AM, Doug McNutt wrote:
Hashing of tools by shells has not been mentioned. It may not be
part of the problem but on invocation many, if not all, shells
examine the $PATH variable and make a table of executables that it
finds. The table is then converted to a hashed
On Mar 9, 2008, at 12:31 PM, [EMAIL PROTECTED] wrote:
On Mar 7, 2008, at 7:48 PM, Larry Prall wrote:
Change the she-bang (#!) line to read:
#!/usr/bin/perl -w
That's the location of the default perl installation on OS X.
That _may_ be the problem, but it is not necessarily the problem.
Hashing of tools by shells has not been mentioned. It may not be part of the
problem but on invocation many, if not all, shells examine the $PATH variable
and make a table of executables that it finds. The table is then converted to a
hashed lookup array in order to improve speed of response.
On Mar 7, 2008, at 7:35 PM, Gary Yang wrote:
Hi,
Below is my Perl script. The script named, test1.pl
test1.pl
#!/usr/local/ActivePerl-5.10/bin/perl -w
print $^O\n;
I have to type, perl test1.pl in order to run it. I got command
not found if I simply typed test1.pl. Can someone
Change the she-bang (#!) line to read:
#!/usr/bin/perl -w
That's the location of the default perl installation on OS X.
- Larry
On Mar 7, 2008, at 1:35 PM, Gary Yang wrote:
Hi,
Below is my Perl script. The script named, test1.pl
test1.pl
#!/usr/local/ActivePerl-5.10/bin/perl -w
print
Hi,
Below is my Perl script. The script named, test1.pl
test1.pl
#!/usr/local/ActivePerl-5.10/bin/perl -w
print $^O\n;
I have to type, perl test1.pl in order to run it. I got command not found
if I simply typed test1.pl. Can someone tell me why and how to fix it?
On Fri, Mar 7, 2008 at 1:35 PM, Gary Yang [EMAIL PROTECTED] wrote:
Hi,
Below is my Perl script. The script named, test1.pl
test1.pl
#!/usr/local/ActivePerl-5.10/bin/perl -w
print $^O\n;
I have to type, perl test1.pl in order to run it. I got command not found
if I simply