diff options
Diffstat (limited to 'emacs.d/snippets/text-mode/perl-mode/ife')
-rw-r--r-- | emacs.d/snippets/text-mode/perl-mode/ife | 7 |
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 |