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

Re: Re: Vim for Perl developers

by naChoZ (Curate)
on Jun 06, 2003 at 18:47 UTC ( #263817=note: print w/replies, xml ) Need Help??

in reply to Re: Vim for Perl developers
in thread Vim for Perl developers

I wonder if you would find this useful. In .vimrc put:

au BufWritePost *.pl,*.pm !perl -c %

Every time you save a .pl or .pm file, it executes perl -c and shows you the output.


Replies are listed 'Best First'.
Re^3: Vim for Perl developers
by dragonchild (Archbishop) on Oct 07, 2008 at 18:34 UTC
    Better would probably be something like:
    au BufWritePost *.pl,*.pm !perl -wcIlib %
    Warnings are important. -Ilib is probably also important, but maybe only I do editing in the root directory of my projects.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2016-10-24 11:18 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (305 votes). Check out past polls.