http://www.perlmonks.org?node_id=603747

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

hello all ...., am new to perl and am using linux ubuntu and iam starting with learning perl all i want to know if there is an ide for perl like something can compile and run my perl program without needing to operate the output in the shell . thanx for all in this forums

Replies are listed 'Best First'.
Re: IDE for perl
by lin0 (Curate) on Mar 08, 2007 at 03:26 UTC

      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
        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

        Komodo Edit 4.0 is free. It doesn't have all of the bells and whistles that a full-blown version of Komodo would have but it's quite nice.

Re: IDE for perl
by GrandFather (Saint) on Mar 08, 2007 at 02:00 UTC
Re: IDE for perl
by explorer (Chaplain) on Mar 08, 2007 at 08:42 UTC
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.


    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
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

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.
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.
      <shameless-plug> Emacs, with Sepia, may suit you, though it will take some time to become comfortable with Emacs </shameless-plug>.
        How do you use Sepia? The documentation is really scarce... Is it usable from within some other editor ?
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