add more snippets

This commit is contained in:
Zhang Chiyuan
2008-03-06 13:46:17 +00:00
parent 81b3a98f1e
commit d63608bd79
14 changed files with 69 additions and 0 deletions

8
snippets/cperl-mode/eval Normal file
View File

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