Hi Gavin, We had quite an extensive discussion, and a very good-humored one, recently. It is still on the archives: http://archive.develooper.com/beginners%40perl.org/ with the originating post: # Editors, Paul Kraus <2002-12-17>
Unfortunately, I didn't see any input on IDE-style editors. At least no one mentioned features such as those you described. I've sort of resigned myself to writing Java, JavaScript, and Perl in a multi-application editing mode, saving my work then checking it through the command-line or a browser. It's definitely primitive, and irritating, but you just get used to lines like: print "<h3> In the get historical data function, the first entry date is: $EntryDates[0] </h3>\n"; or even: print "<p> Got this far! Yay! </p>\n"; If you were working in Windows, I would say "Get to love Ctl+S; Alt+Tab; Ctl+R or Up-Arrow". I don't know what the Linux equivalents for these standard shortcuts are, but I assume they are available. It's really pretty painless. Function-level debugging should also be fairly easy--if you keep the vast bulk of your code safely encapsulated within subroutine definitions. If you keep your global scripting to a minimum, then you can comment it out for debugging and test one function at a time: my $Test = CurrentFunctionBeingTested(parameter_list); print "$Test\n"; When all your functions work on their own, you can uncomment the five or ten lines of script and run the program as a whole. ( ;:~) Happy Coding, Joseph I would find this pretty easy to do. In a Gavin Laking wrote: > Hi folks, > > I'm currently using a mixture of Quanta[1], jEdit[2] and Kate[3] (all Linux) > for my Perl editing needs, but I'm wondering if there are any specialised > editors(preferably free) which others are using. > > In my ideal world I'd like an editor that is not console/terminal based, > (I prefer GTK, etc. applications) allows one to test subroutines out > with dummy values, or just execute single subroutines. Debugging and > stepping (I think its called 'stepping'; you set two markers and the code > only executes between the markers...) would also be beneficial. I bet I'm > asking for the earth! ;-) > > Any suggestions? If this is off topic and is likely to generate a lot of > list-unworthy messages like: "I use x", "I use y" then please feel free to > mail me off list. > > GL > > [1] http://quanta.sourceforge.net/ > [2] http://www.jedit.org/ > [3] http://kate.kde.org/ > > -- > Gavin Laking - Web Development Daemon > http://www.designers-network.com/ > > http://www.gavinlaking.co.uk/ > -- > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]