Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Vim for Perl developers

by bigj (Monk)
on May 15, 2003 at 22:57 UTC ( #258539=note: print w/replies, xml ) Need Help??

in reply to Vim for Perl developers

Great article!

When I used the suggestions, I found 2 things annoying me. I'm not sure whether other Perl programmers would also, but I suppose.

I program with line numbering switched on, but the file/buffer browser has than also the line numbering. That's quite ugly, as I don't need it at these views and it is a simple waste of space. I fixed it with setting an autocmd that do set number only with specific files (like *.p?).

The Perl syntax compiler is of course very useful, but it seems to be written in 2001 where perhaps an older Perl version was outsight. However, the compile command always starts with perl -Wc, so that in all part of the codes warnings are shown. Even in the { no warnings; ... } subparts. That's odd, as I suppose, nowadays with Perl 5.8, using use strict; use warnings; is the standard.
I fixed it with a simple change in perl.vim, replacing setlocal makeprg=perl\ -Wc\ % with setlocal makeprg=perl\ -c\ %.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2021-02-28 16:42 GMT
Find Nodes?
    Voting Booth?

    No recent polls found