Source

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

Full commit
1
2
3
4
5
6
7
8
#name : eval { ... } if ($@) { ... }
# --
eval {
    ${1:# do something risky...}
};
if (\$@) {
    ${2:# handle failure...}
}