Write Perl functions within Vim