mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-06 07:22:25 +00:00
Last commit before tagging and releasing
This commit is contained in:
11
extras/imported/perl-mode/eval.yasnippet
Normal file
11
extras/imported/perl-mode/eval.yasnippet
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: eval
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Try/Except
|
||||
# --
|
||||
eval {
|
||||
${1:# do something risky...}
|
||||
};
|
||||
if (\$@) {
|
||||
${2:# handle failure...}
|
||||
}
|
||||
Reference in New Issue
Block a user