]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vim/ftplugin/perl/perl.xpt.vim
ftplugin/perl/perl.xpt.vim: add pd, u, udd snippets
[config/dotfiles.git] / vim / ftplugin / perl / perl.xpt.vim
index 5259466361366be1db081839dff4d9db5f93393a..9c734bed3af759954ab99db5be32d1359b50f21c 100644 (file)
@@ -6,7 +6,7 @@
 " 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
@@ -60,7 +60,19 @@ use warnings;
 
 
 XPT p
-print `cursor^;
+print `value^;
 
 XPT pe
-print STDERR `cursor^;
+print STDERR `value^;
+
+XPT pd
+print Dumper(`value^);
+
+
+XPT u
+use `package^;
+`cursor^
+
+XPT udd
+use Data::Dumper;
+`cursor^