if has("win32")
let g:windowsperl=1
else
let g:windowsperl=0
let g:perlbrew=1
let g:usrbinperl=0
let g:usrlocalbinperl=0
let g:mcappsperlbrew=0
endif
####
" perform a perl -c when writing a perl buffer
"
if g:perlbrew == 1
au BufWritePost *.pl,*.pm !/home/aharrison/.vimrc.perl -c "%"
elseif g:usrbinperl == 1
au BufWritePost *.pl,*.pm !/usr/bin/perl -c "%"
elseif g:usrlocalbinperl == 1
au BufWritePost *.pl,*.pm !/usr/local/bin/perl -c "%"
elseif g:mcappsperlbrew == 1
au BufWritePost *.pl,*.pm !/mc/apps/perl/current/bin/perl -c "%"
else
au BufWritePost *.pl,*.pm !perl -c "%"
endif
##
##
if has("gui_win32").