summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/perl-mode/sub
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/perl-mode/sub')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/perl-mode/sub5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/perl-mode/sub b/emacs.d/lisp/yasnippet/snippets/perl-mode/sub
new file mode 100644
index 0000000..5ab54d7
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/perl-mode/sub
@@ -0,0 +1,5 @@
+#name : sub ... { ... }
+# --
+sub ${1:function_name} {
+ $0
+} \ No newline at end of file