" Maintainer: Simon Ruderich <simon@ruderich.org>
" 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
" You should have received a copy of the GNU General Public License
" along with this file. If not, see <http://www.gnu.org/licenses/>.
+
+" Prevent errors if XPTemplate is not installed.
+if !exists('g:XPT#ver')
+ finish
+endif
+
XPTemplate priority=personal
-XPT perl
-XSET year|def=strftime("%Y")
+XPT f
+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
`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^