On Wednesday, October 1, 2003, at 04:57 AM, Dillon, John wrote:

I got an iBook recently with OSX 10.2.4. It's UNIX based. Allegedly 10.1+
has Perl pre-installed but I couldn't find it.

All versions of Mac OS X have shipped with Perl installed and ready to go. Perl is a command line UNIX application, so you're not going to find it in the pretty Mac GUI.


So I've downloaded the right version for Mac OSX. I have the same problem as I had in the thread 'Getting started in Perl for Windows'. What now?

Don't reinstall perl until you have a little more experience with it. This is the way of pain.


With Windows, I was directed to c: and typed perl -MCPAN -e shell or I typed myprogram.pl, return. I'm new to both Mac and Perl, but not to programming. I don't have a Perl for Mac book, but what I don't know is the very first practical step:
how to access cpan or run a perl program on the Mac now that I've installed
Perl. I can't find anywhere on the internet telling me 'what next'. Is
there a shell somewhere, do I click something? It would have been nice to
have a readme file with this information rather than have to search high and
low.

Applications -> Utilities -> Terminal


Then just type something like:

perl -v

Welcome to Perl!

James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to