Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

MAC Perl

by gibsonca (Beadle)
on Jul 27, 2010 at 20:26 UTC ( #851600=perlquestion: print w/ replies, xml ) Need Help??
gibsonca has asked for the wisdom of the Perl Monks concerning the following question:

My (windows) PC died and I have transitioned over to my Mac. I've been considering not replacing my windows PC. What is the environment like for developing Perl on a Mac? Is there a command like DOS window there? Thanks

Comment on MAC Perl
Re: MAC Perl
by Your Mother (Canon) on Jul 27, 2010 at 21:12 UTC

    Current Macs are FreeBSD Unix under the hood. Check the Applications / Utilities folder for an app called Terminal for a quick start in the *nix idiom. There are Xemacs and various sorts of things too; Google around if you prefer that type of environment. You will probably have to install the dev tools (should be on one of your install disks and can be downloaded from Apple if necessary) to get the make and C stuff you need.

    (Update: EEETOOMANY.)

Re: MAC Perl
by pemungkah (Priest) on Jul 28, 2010 at 01:54 UTC
    You bet. Terminal.app (in /Applications/Utilities, if I recall properly) provides this. It's the Unix bash shell rather than DOS, but you can do the same things. I've done a fair amount of development there and I like it.

    For installing command-line software, I'd recommend MacPorts, which will allow you to download and install your own versions (in /opt/local) of commands.

    As many have recommended before, building your own Perl with MacPorts is a good idea rather than messing with the system Perl, as Apple may upgrade or change it anytime they do a system update.

Re: MAC Perl
by Gangabass (Priest) on Jul 28, 2010 at 02:46 UTC
Re: MAC Perl
by aquarium (Curate) on Jul 28, 2010 at 06:27 UTC
    Apart from the more commercial offerings, I'd recommend macvim, as a good vi editor...if you've been using gvim on windows.
    on the more dev side of things, you can probably download a software stack like MAMP (Mac: Apache, MySQL, Perl) which is an equivalent of LAMP for Linux and WAMP for windows.
    the hardest line to type correctly is: stty erase ^H
Re: MAC Perl
by wazoox (Prior) on Jul 28, 2010 at 10:26 UTC
    Perl is already installed on Mac OS X (like on all Unix systems). All you need is an editor; all common Unix editors (Emacs, vim) are pre-installed, too. There are other options, I personnally like Smultron which is light and unobtrusive.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://851600]
Approved by sweetblood
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-07-31 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls