# Encoding: UTF-8

[{content: "unless ($1) {\n\t${2:# body...}\n}\n",
  name: "Conditional",
  scope: "source.perl",
  tabTrigger: "unless",
  uuid: "7E294411-67C5-4886-856F-B45F0510974E"},
 {content: "if ($1) {\n\t${2:# body...}\n}\n",
  name: "Conditional",
  scope: "source.perl",
  tabTrigger: "if",
  uuid: "07200FA1-0292-4B6B-853D-F35573A9C5C7"},
 {content: "${1:expression} unless ${2:condition};\n",
  name: "Conditional One-line",
  scope: "source.perl",
  tabTrigger: "xunless",
  uuid: "991A53EE-9471-45EC-9D78-1258AB1BC2AC"},
 {content: "${1:expression} if ${2:condition};\n",
  name: "Conditional One-line",
  scope: "source.perl",
  tabTrigger: "xif",
  uuid: "EB212713-70FC-4948-AABD-C6E991060E93"},
 {content: "if ($1) {\n\t${2:# body...}\n} else {\n\t${3:# else...}\n}\n",
  name: "Conditional if..else",
  scope: "source.perl",
  tabTrigger: "ife",
  uuid: "A970FC46-17DA-4B20-A6F7-866319A3DD70"},
 {content: 
   "if ($1) {\n\t${2:# body...}\n} elsif ($3) {\n\t${4:# elsif...}\n} else {\n\t${5:# else...}\n}\n",
  name: "Conditional if..elsif..else",
  scope: "source.perl",
  tabTrigger: "ifee",
  uuid: "4EA1224E-2FBA-496D-87F4-9C92CEC2F86F"},
 {content: "sub ${1:function_name} {\n\t${2:# body...}\n}\n",
  name: "Function",
  scope: "source.perl",
  tabTrigger: "sub",
  uuid: "4734090D-F23D-4D6B-8581-AC1E1B776DCD"},
 {content: " => ",
  keyEquivalent: "^l",
  name: "Hash Pointer",
  scope: "source.perl",
  uuid: "4F1B9AE2-F90C-4A1B-B7D0-FE59D236B12B"},
 {content: "foreach ${1:my \\$${2:x}} (@${3:array}) {\n\t${4:# body...}\n}\n",
  name: "Loop",
  scope: "source.perl",
  tabTrigger: "fore",
  uuid: "92CEBA9A-D9C9-477B-9B34-931B0521EC79"},
 {content: "while ($1) {\n\t${2:# body...}\n}\n",
  name: "Loop",
  scope: "source.perl",
  tabTrigger: "while",
  uuid: "08C2210D-7F28-4FA6-93C6-D03D69A69EED"},
 {content: 
   "for (my \\$${1:var} = 0; \\$$1 < ${2:expression}; \\$$1++) {\n\t${3:# body...}\n}\n",
  name: "Loop",
  scope: "source.perl",
  tabTrigger: "for",
  uuid: "B2A21D7E-F241-42D3-A6C4-5CA5470EC5C3"},
 {content: "${1:expression} while ${2:condition};\n",
  name: "Loop One-line",
  scope: "source.perl",
  tabTrigger: "xwhile",
  uuid: "0154A96A-844C-4C8A-909E-A2ED822320EE"},
 {content: "${1:expression} foreach @${2:array};\n",
  name: "Loop One-line",
  scope: "source.perl",
  tabTrigger: "xfore",
  uuid: "0130788D-F714-4964-83A3-26EC0E01D3C9"},
 {content: 
   "package ${1:ClassName};\n\n${2:use base qw(${3:ParentClass});\n\n}sub new {\n\tmy \\$class = shift;\n\t\\$class = ref \\$class if ref \\$class;\n\tmy \\$self = bless {}, \\$class;\n\t\\$self;\n}\n\n1;\n",
  name: "Package",
  scope: "source.perl",
  tabTrigger: "class",
  uuid: "4FB403FC-F441-447F-9AAD-E2BE13AD49ED"},
 {content: 
   "my \\$${1:var};\n{ local \\$/ = undef; local *FILE; open FILE, \"<${2:file}\"; \\$$1 = <FILE>; close FILE }\n",
  name: "Read File",
  scope: "source.perl",
  tabTrigger: "slurp",
  uuid: "CEE866A5-FA4B-4C5D-A80C-137A620E825E"},
 {content: 
   "#!/usr/bin/perl -w\n\nuse strict;\nuse Test::More tests => ${1:1};\nuse ${2:ModuleName};\n\nok(${3:assertion});\n",
  name: "Test",
  scope: "source.perl",
  tabTrigger: "test",
  uuid: "1B0FB64D-63C1-469E-B0B6-945477603B01"},
 {content: 
   "eval {\n\t${1:# do something risky...}\n};\nif (\\$@) {\n\t${2:# handle failure...}\n}\n",
  name: "Try/Except",
  scope: "source.perl",
  tabTrigger: "eval",
  uuid: "3A524B0E-C793-429A-AC49-6FB8370D4B77"}]
