dotfiles/.vim/template/perl/base-package.pl

10 lines
183 B
Perl

package {{_expr_:substitute(substitute(substitute(expand('%'), '.*lib[\\/]', '', 'g'), '[\\/]', '::', 'g'), '\.pm$', '', 'g')}};
use strict;
use warnings;
use utf8;
{{_cursor_}}
1