On Friday, October 25, 2002, at 06:29 PM, Tony Darnell wrote:
I have OS X on my other Mac, and I want to run these same scripts. At a command prompt, I tried the obvious - "perl script_name.pl", but no luck.That's not the *only* way to run a script, but it should work. What precisely do you mean by "no luck?"
Did you get "perl: command not found"? That's highly unlikely, as Perl ships with OS X, and it's not an optional install item, as it's used by any number of system utilities.
It's far more likely that Perl tried to run your script, but for some reason could not. Without seeing the error message, though, it's impossible to do more than guess at what went wrong.
Hundreds of them - thousands, even. The Perl shipped with OS X isn't MacPerl; it's the same standard UNIX Perl that ships with Linux, BSD, Solaris, etc., so Googling for "Perl tutorial" will turn up many months worth of applicable reading material.Is there a good reference on the web on how to use Perl on OS X?
sherm--
If you listen to a UNIX shell, can you hear the C?
