From 6de139f35d7cae5ae2d55586637ea9dc1bac79a3 Mon Sep 17 00:00:00 2001 From: goonnow Date: Wed, 27 Aug 2014 14:47:11 +0700 Subject: [PATCH 1/2] 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} + }; From fdcacb33afcf9e3575ae3c14a7019ed95c894605 Mon Sep 17 00:00:00 2001 From: goonnow Date: Thu, 28 Aug 2014 16:19:41 +0700 Subject: [PATCH 2/2] Remove useless placeholder --- snippets/perl.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/perl.snippets b/snippets/perl.snippets index 8fb9c8e..6e0cacb 100644 --- a/snippets/perl.snippets +++ b/snippets/perl.snippets @@ -355,5 +355,5 @@ snippet dump snippet subtest subtest '${1: test_name}' => sub { - ${2: #body} + ${2} };