X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vim%2Fftplugin%2Fperl%2Fperl.xpt.vim;h=9c734bed3af759954ab99db5be32d1359b50f21c;hb=22d5ff950888fe89cde0f4cfbd405194bd61cd41;hp=672d2c582f8ef36097dbb2ce1127ecb7d41b3b53;hpb=7ba8fd37426025138d7d19cfdbdf081d13c3b0c3;p=config%2Fdotfiles.git diff --git a/vim/ftplugin/perl/perl.xpt.vim b/vim/ftplugin/perl/perl.xpt.vim index 672d2c5..9c734be 100644 --- a/vim/ftplugin/perl/perl.xpt.vim +++ b/vim/ftplugin/perl/perl.xpt.vim @@ -6,7 +6,7 @@ " Maintainer: Simon Ruderich " License: GPL v3+ -" Copyright (C) 2012 Simon Ruderich +" Copyright (C) 2012-2014 Simon Ruderich " " This file is free software: you can redistribute it and/or modify " it under the terms of the GNU General Public License as published by @@ -31,12 +31,12 @@ XPTemplate priority=personal XPT perl -XSET year|def=strftime("%Y") +XSET description|post=S(V(), '^description$', 'XXX') #!/usr/bin/perl # `description^ -# Copyright (C) `year^ Simon Ruderich +# Copyright (C) `strftime("%Y")^ Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -57,3 +57,22 @@ use warnings; `cursor^ + + +XPT p +print `value^; + +XPT pe +print STDERR `value^; + +XPT pd +print Dumper(`value^); + + +XPT u +use `package^; +`cursor^ + +XPT udd +use Data::Dumper; +`cursor^