dotfiles/.emacs.d/snippets/perl-mode/ife

8 lines
88 B
Plaintext

# name: if (...) { ... } else { ... }
# key: ife
# --
if ($1) {
$2
} else {
$3
}