Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Writing/Running Perl on OS X 10.4, Tiger

by Spidy (Chaplain)
on Jun 11, 2005 at 21:52 UTC ( #465856=perlquestion: print w/ replies, xml ) Need Help??
Spidy has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone know a good, free editor for OS X I can use to write my Perl, with syntax highlighting? I also need it to be able to allow me to hotkey running my Perl for me, if anyone can tell me how to do that, too.

Thanks,
Spidy

Comment on Writing/Running Perl on OS X 10.4, Tiger
Re: Writing/Running Perl on OS X 10.4, Tiger
by merlyn (Sage) on Jun 11, 2005 at 21:54 UTC

      Just because it is one of the oldest flame wars in software

      vi for mac OSx or more accurately vim for mac osx


      "No matter where you go, there you are." BB
      Carbonized GNU Emacs
      Dear merlyn,
      What's the meaning of the word "carbonized" here?

        I believe that he's referring to a version of Emacs that uses the Carbon APIs to make an application behave as a native Macintosh application. Google around for it carbonized Emacs, as I remember there's a version in CVS.

        Personally, I like vi/vim as editors, I can run them in Terminal.app on my IBook and through ssh sessions to and from other computers. Nice stuff.

        Cheers. :)

        The current mainstream "CVS HEAD" GNU Emacs compiles to be a native application on OSX, including understanding Apple Events and handling drag/drop and mouse movement. This is not the X11 version requiring the X11 server: it runs native using Carbon calls. Carbon GNU Emacs also uses Apple fonts, not X11 fonts, which I prefer, and also enables the "Services" menu, so I can do cool things there.

        You can get it by compiling directly from the CVS HEAD, which I do daily... takes about a half hour to compile, but CPU is cheap. You can also download precompiled binary snapshots, but bear in mind that these are "pre-release" versions and may have broken functionality or preliminary documentation.

        -- Randal L. Schwartz, Perl hacker
        Be sure to read my standard disclaimer if this is a reply.

Re: Writing/Running Perl on OS X 10.4, Tiger
by adrianh (Chancellor) on Jun 11, 2005 at 21:57 UTC

    If you're a Unix guy then a vi or emacs variant will do the job with appropriate extensions.

    If you're more of a Mac guy then TextWrangler is pretty good, as is Smultron if you switch off the evil metal look :-)

      Smultron seems to suit my purposes, but how can I hotkey it to run my perl straight from the editor?
        how can I hotkey it to run my perl straight from the editor

        My bad. I thought Smultron had this functionality, but my memory was obviously playing tricks on me. Sorry.

        (Since it is open source you could always write a patch of course :-)

        TextWrangler (currently my default OS X editor) definitely does allow this. The "Run" option of the "#!" menu can be bound to a hotkey using the "Set menu keys" option of the "TextWrangler" menu.

Re: Writing/Running Perl on OS X 10.4, Tiger
by Spidy (Chaplain) on Jun 11, 2005 at 22:01 UTC
    Just downloaded Smultron, here goes...
    (thanks for the help so quickly, guys)
Re: Writing/Running Perl on OS X 10.4, Tiger
by borisz (Canon) on Jun 12, 2005 at 09:19 UTC
    I like to vote for aquamacs since it includes everything for perl and has a fine integration of filerequests and copy and paste.
    Another nice editor is SubEthaEdit free for private use. And Eclipse with the EPIC plugin.
    Boris
Re: Writing/Running Perl on OS X 10.4, Tiger
by neniro (Priest) on Jun 12, 2005 at 15:31 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2014-10-01 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (18 votes), past polls