I knew as soon as I hit send, I should have noted that I set the bits with
"chmod 755 sript.pl" on my scripts.
I am also running the scripts outside of the standard install perl
directory.
If "chmod u+x" is different, I will try that when I get home.
Thanks,
Eric
----- Original Message -----
From: "Jim Correia" <[EMAIL PROTECTED]>
To: "Dahlstrom, Eric (Bach)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 7:28 AM
Subject: Re: bin/perl
> On 9:41 AM 4/24/01 Eric W Dahlstrom <[EMAIL PROTECTED]> wrote:
>
> > When setting up the perl directory in a script on MacOSX, typically
> > one would use "#!/usr/bin/perl/" or the like, what is correct for a
> > standard install?
> >
> > "#!/system/library/perl"?
>
> #!/usr/bin/perl
>
> > I can invoke my scripts by typing in "perl script.pl", but I can't get
> > it to run directly by typing in "script.pl". Is this due to the above
> > question or do I need to set specific folder attributes for the folder
> > my scripts are in?
>
> You need to set the executable bit on the file.
>