emacs-prelude/vendor/yasnippet/snippets/perl-mode/eval
2012-02-17 22:12:32 +02:00

9 lines
No EOL
138 B
Text

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