Re: IDE for perl
by lin0 (Curate) on Mar 08, 2007 at 03:26 UTC
|
Hi adam_blackice,
Welcome to PerlMonks!
Many people have asked this question before. Doing a Super Search, I found these nodes:
However, if you are just starting with Perl, I would recommend you to start without an IDE. You could use something like Kate and run your code in the terminal inside the editor's window. Once you have covered the basics, you could switch to an IDE such as Eclipse, following GrandFather's recommendation.
In any case, these are just my 2 cents
Cheers,
lin0
| [reply] |
|
Actually my recommendation would be to start with a full blown IDE like Komodo from ActiveState. But now that they seem to have dropped the personal version it's gotten too damn expensive for anyone who isn't using it professionally.
The reason I recommend something like Komodo to a beginner is that you can get a much better idea of what is going on in your code when it is trivial to set break points and inspect variables. Komodo even provides a syntax check in the editor with syntax errors presented in tool tips on mouse over. That is a pretty slick trick and saves bulk time (when combined with use strict;) by flaging typos and missing declarations as you are editing.
But, as I say, Komodo is just too expensive now for someone who isn't using it to earn a living to consider.
DWIM is Perl's answer to Gödel
| [reply] [d/l] |
|
Something like Komodo is an excellent way to debug code, much in the same style as the Visual Studio debugger.
For me, the problem with Komodo was its rather feeble code editor. I prefer Vim (though I have nothing against Emacs).
I'd like to think that the development of Perl 6 could be a rallying call for perl tool developers. The Reinvigoration of perl (in a commercial, enterprisey, hype-y sense) that is sure to follow Perl 6's release should not be dragged down by pathetic development tools.
Visual Studio and Eclipse are both excellent environments feature-wise (ignoring VS bugs and Java idiosyncrasies); it'd be sad not to have available tools of that callibre - for Parrot's family of languages - after the release of Perl 6.
Key features I'd want:
- Debugging: Edit and Continue support (ala VS debugger)
- Pluggable code-editor (eg: VS + ViEmu)
- Webservice discovery, client side code generation
- Packaging templates for various deployment types
- High-quality templates for CPAN module development
- Well integrated support for many forms of testing.
Automatically set computer alight if UML diagrams even smell like being used
-David
| [reply] |
|
| [reply] |
|
|
|
Re: IDE for perl
by GrandFather (Saint) on Mar 08, 2007 at 02:00 UTC
|
| [reply] |
|
| [reply] |
Re: IDE for perl
by explorer (Chaplain) on Mar 08, 2007 at 08:42 UTC
|
| [reply] |
Re: IDE for perl
by zentara (Archbishop) on Mar 08, 2007 at 13:53 UTC
|
Since you are on linux, you can use MidnightCommander, "mc", to do your writing and testing. It is very easy, and it's editor gives very good Perl syntax highlighting. When you start mc, you get a directory/file browser. Highlight your script
and press Enter,to run it, or F4 to edit it. When I'm working, I edit with F4, hit Esc (twice fast) to exit the editor, then a quick Enter runs it. By now, I don't even think about it, it's automatic. :-) Of course vi and emacs are far superior than mc's internal editor, but for 99% of all script work, it does just fine.
| [reply] |
Re: IDE for perl
by robot_tourist (Hermit) on Mar 08, 2007 at 14:50 UTC
|
When I switch from working with Delphi to working with Perl I miss autocomplete and gui form building (and the fantastic white-on-black colour scheme), but Jedit (www.jedit.org) eases the pain a little. It is Java-based so would likely work on Ubuntu (I run it on Windows and OSX). It has some useful plugins available for Perl development, like PerlSideKick, which shows all the subs and used modules in the current file, and Console, which can be docked in the window so you can get to your shell easily.
How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist. Robot Tourist, by Ten Benson
| [reply] |
Re: IDE for perl
by j3 (Friar) on Mar 08, 2007 at 17:24 UTC
|
Try Geany. It's a fast GTK+-based editor. Few dependencies. Uses scintilla under the covers. Super easy to use. | [reply] |
Re: IDE for perl
by jesuashok (Curate) on Mar 08, 2007 at 03:17 UTC
|
If you are a developer, I recommend you still to use emacs or vim. | [reply] |
|
<shameless-plug> Emacs, with Sepia, may suit you, though it will take some time to become comfortable with Emacs </shameless-plug>.
| [reply] |
|
How do you use Sepia? The documentation is really scarce... Is it usable from within some other editor ?
| [reply] |
|
|
|
|
Re: IDE for perl
by yitzle (Initiate) on Mar 08, 2007 at 05:44 UTC
|
Kate has a terminal inside the editor...
I use gedit and terminal | [reply] |