[Chicago-talk] Notes on vim+perl(+PuTTY)

Andy_Bach at wiwb.uscourts.gov Andy_Bach at wiwb.uscourts.gov
Fri Mar 16 08:33:59 PDT 2007

Speaking of vimrc, I've got:
   autocmd BufWritePost *.pl,*.pm,*.cgi !/usr/bin/perl -c %

which is nice.  We have a particularly (bad) lib setup for some scripts 
and I've tried:

   map <C-P> :w!/tmp/vimc.pl<CR>:!PERL5LIB=/app01/BKECF/live/web/support; 
export    PERL5LIB; /usr/bin/perl -c /tmp/vimc.pl; rm /tmp/vimc.pl<CR>

To use the PERL5LIB setting on checking the syntax for those files.


Andy Bach
Systems Mangler
Internet: andy_bach at wiwb.uscourts.gov
VOICE: (608) 261-5738  FAX 264-5932

"Cacoepy" is not to be confused with cacology "bad choice of words." The 
antonym of "cacoepy" 
is orthoepy "the correct pronunciation of words." "Cacoepistic" is the 
adjective form of today's word 
and a person who often mispronounces words is a "cacoepist."

More information about the Chicago-talk mailing list