|Problems? Is your data what you think it is?|
Re: Perl Editor Voodooby gmax (Abbot)
|on Feb 19, 2002 at 16:25 UTC||Need Help??|
I have been using Vim with embedded Perl for a while.
I don't think I am exploiting all the possibilities, but it is really helpful to have perl regular expressions at your disposal, so you don't have to think about the differences between the two RegEx dialects. Once you are used to Perl's syntax, capturing parentheses in Vim \(.*\) look painfully unfamiliar.
I often use Perl's sort to manipulate my lines of text.
A nice feature is that you can test one or more lines of code, while you are writing them. Here is just one example:
If you want to see the result of that assignment (provided that your internal CPU can't calculate it :) this command
will append the result at the end of the line.
I mapped this command, referring to the current line.
I am sure that there is a lot more than these few tricks. Having Perl embedded in your editor can trigger your imagination!
_ _ _ _ (_|| | |(_|>< _|