my-emacs-d/elpa/yasnippet-20161022.646/snippets/perl-mode/eval
2016-10-24 08:30:06 +02:00

9 lines
138 B
Plaintext

# name: eval { ... } if ($@) { ... }
# key: eval
# --
eval {
${1:# do something risky...}
};
if (\$@) {
${2:# handle failure...}
}