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