diff options
Diffstat (limited to 'skeletons/perl.pm')
-rw-r--r-- | skeletons/perl.pm | 9 |
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 |