Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

What's a good IDE to use for writing Perl?

by MrSnrub (Beadle)
on Apr 01, 2011 at 02:04 UTC ( [id://896756]=perlquestion: print w/replies, xml ) Need Help??

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

Hello all, I'm a bit of a newbie learning Perl and while I'm slowly getting the hang of writing my Perl scripts in vi, I think this could go a lot easier if I had a better environment.

For example, when I'm typing in a module and I type in the class name then the two colons (say, "Foo::"), I want to hit Ctrl + Spacebar and all the relevant module names in Foo should appear in a drop-down list.

Or as another example: I'd like a "Find the Subroutine" utility where I can doubleclick on any subroutine call and it would search all my included files and find the exact subroutine definition for that call. I can't tell you how many times I've been looking through my code and finding a soubroutine call and thinking "Hmmm... I don't remember what that call does. Let's try to find the definition for it." and then wasting ten minutes in file after file looking for it with grep.

Is there a graphical IDE that can do these things?

  • Comment on What's a good IDE to use for writing Perl?

Replies are listed 'Best First'.
Re: What's a good IDE to use for writing Perl?
by zwon (Abbot) on Apr 01, 2011 at 02:25 UTC

    There are a lot, try them all and choose the one you like: Vim (that's my choice), Padre, EPIC plugin for Eclipse, GNU Emacs, Komodo

    PS: Not all of them do all the things you want, and not all the things you want always possible with Perl.

      So what are some of the things that can be done, and what things can't be done with Perl?
Re: What's a good IDE to use for writing Perl?
by RedElk (Hermit) on Apr 01, 2011 at 04:30 UTC

    Geany works well for me on my Ubuntu box.

Re: What's a good IDE to use for writing Perl?
by roboticus (Chancellor) on Apr 01, 2011 at 10:15 UTC

    MrSnrub:

    If your only complaint about vi is the lack of autocompletion and the ability to find a subroutine, you may want to try vim. You can use perl ctags for the subroutine find functionality, and a search for vim autocomplete doesn't disappoint. There are many vim addons available. There's even a graphical version of vim if you don't want to use text windows.

    I realize that it won't satisfy all tastes, but I enjoy it. Of course, there are quite a few other choices out there, but I'm not familiar with them (other than a brief stint with xemacs ten years ago).

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Re: What's a good IDE to use for writing Perl?
by wind (Priest) on Apr 01, 2011 at 02:50 UTC
Re: What's a good IDE to use for writing Perl?
by davido (Cardinal) on Apr 01, 2011 at 07:24 UTC

    Under Windows, I like Scite. It's an open source multi-language syntax-highlighting editor with basic 'run' and 'compile' functions. It's extensible, and powerful enough for my needs. Obviously it's not a project management tool -- just an editor. I feel like it never gets in the way. It just does what I want: Highlight syntax, auto-tabbing, 'go' (execute code in a side pane), and 'compile' (perl -c in a side pane).

    Scite


    Dave

Re: What's a good IDE to use for writing Perl?
by Popcorn Dave (Abbot) on Apr 01, 2011 at 20:34 UTC
    Under Windows, I've used ConText for years and I'm quite happy with it. It's multi language so you can code in lots of languages with it.

    I've got it set up to use F12 to check syntax errors, F10 to run under PTKDB and F9 to run my code


    To disagree, one doesn't have to be disagreeable - Barry Goldwater

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found