in reply to .vimrc options to assist with perl coding
Maybe not pretty but does the trick, maybe you can also add to this the use strict; stuff and some other header stuff. So eacht time you start a new perl file it automatically puts a header in. Try it for the next version :)au BufNewFile *.pl,*.cgi s,^,#!/usr/bin/perl -w, \ | w \ | !chmod +x %
|
---|