Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: What's the best Perl IDE?

by roboticus (Chancellor)
on Sep 16, 2011 at 10:38 UTC ( #926379=note: print w/replies, xml ) Need Help??

in reply to Re^2: What's the best Perl IDE?
in thread What's the best Perl IDE?


I can't speak for bruceb3, but what I do is this: I have a set of text consoles (bash) open. The top-left one is where I display documentation (man, perldoc), the upper-right one is where I have an editor open (vim), and the bottom screen is the compile/run screen. It's much like an integrated GUI, but I have the flexibility of window placement and tools in each window. The advantage is that I can do the same thing on nearly every system I use, irrespective of the OS running on it. While an integrated GUI may have "smart" interactions between the screens which you may miss, I normally find most of the "helpful automations" in them more a distraction/hindrance than a help.

+----------------+------------------------------------------------+ | Help window | Text editor (large font) H | small font | H | | H | | H | | H | | # | | # | | # | | # | $ perldoc perlf| H +----------------| H | Compile/Run | H | Window | H | small font | H | | H | Error msgs and +------------------------------------------------+ | line numbers show up on left/bottom H | # | # | # | # | $ # +-----------------------------------------------------------------+

Then I just choose the window I want, use the up-arrow to choose the command I want and press Enter. Once you're set up with a little history, then you can cycle through your windows pretty quickly and get through projects quickly.

I normally have the other monitor set up with a similar set of windows with a home-grown database viewer and alternate windows for less-common operations.

Update: I use vim as my editor in the editor window, so I often write little perl scripts to edit the currently-selected block of text (such as filling out column names with formatting in SQL, adding code snippets, reformatting, etc.) without leaving the editor. It doesn't give you all the features that IDE users have, but considering that you write your own scriptlets, you get what you *want*. For example, in my DB query tool, I've added row and column filters, column and table nicknames, variable substitution, etc., so I can do some fairly complex queries with very little typing.


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

Replies are listed 'Best First'.
Re^4: What's the best Perl IDE?
by Anonymous Monk on Jan 12, 2012 at 03:35 UTC

    How can I set it up like that, what do I do?

Re^4: What's the best Perl IDE?
by toro (Beadle) on Nov 30, 2011 at 06:31 UTC

    Thank you roboticus! That makes sense.

    Um, side question, how long did it take you to type/draw your screen setup? And I'm assuming your bottom window is partially covered by the vim window?


      It didn't take too long to draw it, I'm guessing 10 minutes? I just put in the text I wanted with vertical bars between them. Then after the text was in there, I just added spaces to make the vertical bars line up, and then duplicated blank lines to get the screen proportion nicer. Then, as an afterthought, I replaced the rightmost vertical bars with characters to simulate scrollbars.

      Yes, the bottom window is partially obscured by the vim window. At home, where I have a better/larger monitor, they don't overlap as often.

      My morning ritual is to visit perlmonks in the morning while my son is preparing for school. So if perlmonks doesn't have much going on, I can easily spend a few extra minutes to build such a diagram. But when perlmonks is busy, I don't get to spend as much time on each node.


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://926379]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2017-09-22 07:58 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (259 votes). Check out past polls.