Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 imbibing at the Monastery: (7)
As of 2021-03-04 16:50 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (105 votes). Check out past polls.