Source

.emacs.d / vendor / yasnippet / snippets / perl-mode / ife

Full commit
1
2
3
4
5
6
7
8
# name: if (...) { ... } else { ... }
# key: ife
# --
if ($1) {
    $2
} else {
    $3
}