Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: QuickPerl: a step up from -eby Abigail (Deacon) |
on Jul 05, 2001 at 02:14 UTC ( [id://93966]=note: print w/replies, xml ) | Need Help?? |
Personally, I would use a good editor, one that allows for
programmable macros. Many vi-clones and certainly emacs do.
Here's a macro I use (using the editor vile):
It saves my current buffer, then runs perl -wc on the file, displaying the output. I can bind that to any keystroke I want. (Or, if I were kinky enough to use the mouse aware xvile, to a button or menu-item) Parsing the output of perl -wc (even with Perl if you want to, many vi-clones can have a Perl compiler/interpreter linked in) and positioning the cursor on the line of the first error would be a not to hard, logical extension. I certainly wouldn't want to cook up a Tk kludge, and edit in something else than my favourite editor. -- Abigail
In Section
Seekers of Perl Wisdom
|
|