At 6:41 -0700 4/24/01, Eric W Dahlstrom wrote:
>Hi,
> 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?
[localhost:~] john% emacs /tmp/test.pl #Or any other editor you like
...
[localhost:~] john% chmod u+x /tmp/test.pl #Makes it executable by you
[localhost:~] john% ll /private/tmp
total 8
drwxrwxrwt 3 root wheel 58 Apr 24 08:05 .
drwxr-xr-x 7 root wheel 264 Apr 24 00:55 ..
-rwxr--r-- 1 john wheel 44 Apr 24 08:05 test.pl
[localhost:~] john% cat /tmp/test.pl
#!/usr/bin/perl -w #Do get into the -w habit
print "Hello, World\n";
[localhost:~] john% /tmp/test.pl
Hello, World
[localhost:~] john%
--
John Baxter [EMAIL PROTECTED] Port Ludlow, WA, USA