summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/perl-mode/ife
blob: 23f7cf6c58fb0c02a2f04ea2862f634bd2521ca7 (plain) (blame)
1
2
3
4
5
6
7
#name : if (...) { ... } else { ... }
# --
if ($1) {
    $2
} else {
    $3
}