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