summaryrefslogtreecommitdiffstats
path: root/skeletons/perl.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-05-05 00:44:35 -0500
committerJesse Luehrs <doy@tozt.net>2009-05-05 00:44:35 -0500
commit1f0555c7fa12de7ad00eb29d5f3854ebaff88970 (patch)
treefe048e99760deea2f31000fc01c2b66e335fd368 /skeletons/perl.pm
parent9a1366affdf474cead2a6c67d58191e1479c7bcc (diff)
downloadvim-skeletons-master.tar.gz
vim-skeletons-master.zip
add sample skeleton filesHEADmaster
Diffstat (limited to 'skeletons/perl.pm')
-rw-r--r--skeletons/perl.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/skeletons/perl.pm b/skeletons/perl.pm
new file mode 100644
index 0000000..bdca268
--- /dev/null
+++ b/skeletons/perl.pm
@@ -0,0 +1,9 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+:exe "call append(line('.'), 'package ".substitute(matchstr(expand("%"), '^lib/\zs.*\ze\.pm'), '/', '::', 'g').";')"
+
+
+1;
+:normal 5Go
+:startinsert