Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

From Win to Lin: Perl IDE choices?

by water (Deacon)
on Oct 08, 2004 at 00:41 UTC ( [id://397492]=perlquestion: print w/replies, xml ) Need Help??

water has asked for the wisdom of the Perl Monks concerning the following question:

Wise Monks --

I really really like and recommend Optiperl, a Windows-based Perl IDE.

I like Optiperl's code folding, the built-in regexp tester and perl-tidy, the syntax colorization, the easy click into modules, the real-time syntax and warnings checks, and more. Yep, I like Optiperl -- is a great tool.

For a variety of reasons, I may need to switch to a linux IDE for perl.

What do folks recommend? Is there such a thing?

I know the strengths and weaknesses of the general super-editors like vi and emacs. That's not what I'm after. (Not interested in the religious debates along the lines of "anything you want to do for anything can and thus should be done in emacs|vi; IDE's are just fancy dressing". I disagree -- though skilled in emacs, I can get work done much much faster in a specialized tool like Optiperl.)

I'm seeking something like Optiperl on Linux.

Does such a thing exist?

Thanks

water

Replies are listed 'Best First'.
Re: From Win to Lin: Perl IDE choices?
by tachyon (Chancellor) on Oct 08, 2004 at 00:55 UTC

    You have heard of Google right? Click the link. There are at least 4 options on the first page of listings, all either free or with free trials.

    Editors and IDEs are a totally personal choice so other peoples opinions are of rather limited utility. I like vim and totally fail to understand why you would not love it too. Go on. Learn vi/vim in 50 lines and 15 minutes :-)

    You can probably run Win32 Optiperl on Linux in/on/under any of Vmware, Wine or Win4Lin. See this overview.

    Here is an incomplete IDE list:

    cheers

    tachyon

      Go on. Learn vi/vim in 50 lines and 15 minutes

      Or you can take 15m to learn X?Emacs (where "m" stands for months) and you will have an IDE for all seasons, just about all languages, all human tongues, total scriptability (Lisp underneath), macros, templates, command key assignment, split panes, that can also browse, play games, send email, and comes with more built-ins than one could ever hope to discover.

      But seriously, it's personal. Some of the best hackers I know only use vim (flame attractant: Pico users on the other hand...). I've been an editor and writer for almost 20 years though and if I can't have Nisus, Quark, or the lost but not forgotten WriteNow, I'll keep Emacs.

      Update: spelling fix.

Re: From Win to Lin: Perl IDE choices?
by JediWizard (Deacon) on Oct 08, 2004 at 02:16 UTC

    I have been using Komodo for years, and absolutely love it. Syntax Highlighting, auto complete, and it even runs your code through the perl compiler and can show your syntax errors and any warnings your script would generate. The only major draw back to it that I can see is it's flimsy support for regular expressions (python syntax at that!).

    May the Force be with you
Emacs and Religion (humorous Amazon search result)
by water (Deacon) on Oct 08, 2004 at 10:12 UTC
    water again.

    I knew this subject is an old religious war among coders, and knew asking about an IDE on PM would bring back the customary answers, but decided to ask anyway......

    And now after some reflection I am considering going back to emacs after all these years........

    And so I headed over to Amazon to find a good book on Emacs for my reintroduction........

    And, I am not making this up, a search for 'emacs' on AMZN turned up, off all things, the Holy Bible (!)

    All 779 results for emacs : Sort by: Featured ItemsBestsellingA +vg. Customer ReviewPrice: Low to HighPrice: High to LowPublication Da +teAlphabetical: A to ZAlphabetical: Z to A 1. Holy Bible: English Standard Version by Not Applicable (Hardcover ) Avg. Customer Rating: (Rate this item) Other Editions: Hardcover | Leather Bound | See all (4) Usually ships in 24 hours List Price: $34.99 Buy new: $23.79 Used & new from $22.49 • Excerpt from page 1039 "... on the cheek, "Matthew, and Thomas, and + James the 17'[ eMac',Mat offer the other also, and from one who and +Simon ..." See more references to emacs in this book.
    A religious war, indeed!
    <g>
      And alt.religion.emacs remains a good newsgroup to learn about emacs... but only if you're willing to embrace the faith.

      As far as books about emacs, the two I would suggest are:

      Both of these are available through the earthly conduit of the holy fire, gnu.org. Also, as is their wont, the full texts of these books ship with emacs, along with the full Gnu Emacs Lisp Reference Manual itself: Try ESC x help i and look down the list.

      The O'Reilly book Learning GNU Emacs, Second Edition might be okay, if you could find a copy (it's been out of print for ten years). Their "Writing GNU Emacs Extensions" by Bob Glickstein was also pretty good, but I think it's been out of print even longer. (It could be that O'Reilly has essentially moved on from being the uber-geek's book company... maybe it's time for Apress to do some emacs books?)

      Don't forget to check the emacs wiki page: PerlLanguage.

      Thou powers known to but a few, thou public API widely advertised.

Re: From Win to Lin: Perl IDE choices?
by astroboy (Chaplain) on Oct 08, 2004 at 10:44 UTC
    I use OptiPerl and Komodo3. Komodo's got a nicer interface, but it can be a little disconcerting going between both tools. K3's code explorer lists all scripts, not just the one you're currently editing. It doesn't have a built in web server -- which is something I really like about OptiPerl -- but it does have a Regex tester and support for other languages. In addition, you get Windows, Solaris and Linux versions with one license. (BTW if anyone's used an earlier version of Komodo before, v3 is lightyears better)
Re: From Win to Lin: Perl IDE choices?
by dimar (Curate) on Oct 08, 2004 at 13:42 UTC

    Since you mentioned: code folding, the built-in regexp tester and perl-tidy, the syntax colorization, the easy click into modules, the real-time syntax and warnings checks. You might look into jEdit (www.jEdit.org).

    It is the only single IDE I have found so far that includes everything you specified, as well as run on both platforms. It is open source. If there is another one out there I'd enjoy to hear about it.

Re: From Win to Lin: Perl IDE choices?
by MrCromeDome (Deacon) on Oct 08, 2004 at 13:33 UTC
    Check out Kate, part of KDE. Put rather simply, it's beautiful :) Very expandable and configurable. I couldn't code without it.
OT: perl emacs 'strict' and 'warnings'?
by water (Deacon) on Oct 08, 2004 at 20:33 UTC
    water again. I am leaning towards returning to Emacs... does anyone know here if there's a mode that does syntax checking (eg 'strict' and 'warnings' in real time)? I know about cperl for syntax colorization, but, again relfecting back on optiperl, it squawks in real time when I type  $fooo when I should have typed <code $foo</code>, or if I type  gep rather than  grep. Seeing the error at that instant and fixing it right then is a big time saver, vs. seeing the error when syntax checking or running the script. Does anyone know if emacs can do something like this?

    Thanks!

      I dont know of such features, but you can check for perl syntax and pod on an event such as after saving (after-save-hook). I have just added such a elisp function here:
      http://perlmonks.org/?node_id=398159
      > does anyone know here if there's a mode that does syntax 
      > checking (eg 'strict' and 'warnings' in real time)?
      
      Yes. It exists and is called flymake.

      http://flymake.sourceforge.net/

      yes: flymake-mode (In the docs there is an example for perl checking if it isn't set up already)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found