Source

python emacs / yasnippet-0.6.1c / snippets / text-mode / perl-mode / ife

1
2
3
4
5
6
7
#name : if (...) { ... } else { ... }
# --
if ($1) {
    $2
} else {
    $3
}