From 6de139f35d7cae5ae2d55586637ea9dc1bac79a3 Mon Sep 17 00:00:00 2001 From: goonnow Date: Wed, 27 Aug 2014 14:47:11 +0700 Subject: [PATCH] Update snippets. --- snippets/perl.snippets | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/snippets/perl.snippets b/snippets/perl.snippets index ea41427..8fb9c8e 100644 --- a/snippets/perl.snippets +++ b/snippets/perl.snippets @@ -349,3 +349,11 @@ snippet debug_trace require Carp; Carp::confess }; +snippet dump + use Data::Dump qw(dump); + warn dump ${1:variable} + +snippet subtest + subtest '${1: test_name}' => sub { + ${2: #body} + };