Hi Robin,
On Friday, 20 July 2001 at 3:45AM you wrote:
>I've included the script below for perusal, it basically kills any
>apps which are open at the time of invokation - I got fed up doing it
>manually and didn't want to write an Applescript to do it. It works
>as expected when run from the command line using 'perl script.pl',
>but fails silently when I try to call it by name, even after forcing
>OSX to place it in "/usr/bin/"
Nota bene: even if /usr/bin is in your PATH (which is almost definite: life
in a macosx terminal window without /usr/bin in the PATH is pretty grim!)
you'll need to let the shell know that you've added in the new executable.
Either type "rehash" so that the shell scans through your directories in the
same way it does when you log in (caching the result), or (more easily)
close the terminal and open a new one.
Cheers,
Paul