Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I enjoy vim scripting and find it quite powerful [perl.org]. (Plus, it's okay to program in baby-vim and we won't laugh;-) Not all variables (or mappings, or functions) are global in vim, see the documentation, for example at :help script-variable and help script-local. (Assuming you're using vim 6.) I never use the perl interpreter in vim (in fact I never compile my vims with it), because I can always use ! or :! in case of emergency. But again, I feel at home with vim's regexps, because I learned vi (and sed, awk, .
    • I enjoy vim scripting and find it quite powerful [perl.org]. (Plus, it's okay to program in baby-vim and we won't laugh;-)

      Ah, just reminds me that it was your webpage where I picked up this little hack to use vim as a perldoc pager (I need it to be able to paste the relevant parts of the Perl documentation into postings for comp.lang.perl.misc;-). Also, your Perl indenter is in regular use.

      But again, I feel at home with vim's regexps, because I learned vi (and sed, awk, ...) before perl. (I have to admit that I still have to refer to the docs when doing lookahead/lookbehind assertions

      Amazing how much the background one is coming from will influence one's preferred way of using a computer. For me, almost everything started with Perl. I picked it up while I was still in my Windows days. But the migration to Linux was a logical step because it seemed so nicely integrated there. Unfortunately it made me sort of lazy to learn new things: Why should I do Bash scripts when a perl is sitting around? Why using vim's native features when I can just exploit a full-blown Perl interpreter stuffed into my favourite editor?

      Vim-scripting however has shown me once more that being polyglot is even better.