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

Re: What's the best Perl IDE?

by bruceb3 (Pilgrim)
on Sep 17, 2007 at 03:22 UTC ( #639323=note: print w/replies, xml ) Need Help??


in reply to What's the best Perl IDE?

I don't really know what the best Perl IDE is. What is your criteria?

Speaking only for myself, UNIX is my IDE of choice. It has all of the tools that I need and it seems relatively straight forward to extend.

'The UNIX programming environment is unusually rich and productive.'

-- The UNIX Programming Environment.
Brian W. Kernighan
Rob Pike

You might say that I am biased.

Replies are listed 'Best First'.
Re^2: What's the best Perl IDE?
by toro (Beadle) on Sep 16, 2011 at 04:35 UTC
    This is a 4-years-delayed question. But, can bruceb3 or someone else explain what bruceb3 means by "UNIX as IDE"? I get that
    • nano, emacs, and vi are text editors
    • you can run your perl script from the a terminal window, run smaller versions of the code, etc. to debug
    What else?

      toro:

      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.

      ...roboticus

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

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

        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?

      To add something to the "what else":
      • It's the same IDE regardless of language. I use a forest of xterms with editors in some, manual pages in others, and tests/runs in yet another set. Whether I code in Perl, C, shell, SQL, LaTeX or something else. I even do mail that way, although usually I don't have a need for manual pages, or test runs.
      • I haven't had the need to change my IDE for the past 20+ years or so. That's right. I spend *0* time learning IDEs the past 20 years. Whether I use Solaris, HP-UX, AIX, Linux or CIGWIN. It's just a matter of untarring a bunch of dotfiles and maybe installing a package or two and it just works. (Ok, so I learned how to use RPMs in the past 20 years -- but I had to do that anyway).
      • The most basic components of my IDE (vi + man) are just on every platform I've ever worked on (is it POSIX compliant? You get vi and man). Install the OS, and you have them. I can have the core of my IDE up and running even before the install CD has stopped spinning.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://639323]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2020-04-01 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (18 votes). Check out past polls.

    Notices?