diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-03-25 18:46:26 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-03-25 18:46:26 -0500 |
commit | 9358868db6fe3ab505dda81b542b079e24fceb13 (patch) | |
tree | f5d30d7776f0007c250bcf1b128f401dbb5b81b5 /vim/snippets | |
parent | 5108910aff6a2fb815ae68af8770cb513e194351 (diff) | |
download | conf-9358868db6fe3ab505dda81b542b079e24fceb13.tar.gz conf-9358868db6fe3ab505dda81b542b079e24fceb13.zip |
fiddle with some snippets
Diffstat (limited to 'vim/snippets')
-rw-r--r-- | vim/snippets/perl.snippets | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/vim/snippets/perl.snippets b/vim/snippets/perl.snippets index 9bf7130..87dd510 100644 --- a/vim/snippets/perl.snippets +++ b/vim/snippets/perl.snippets @@ -58,10 +58,8 @@ snippet st ${1:list} snippet tbl local $Test::Builder::Level = $Test::Builder::Level + 1; - snippet ccl local $Carp::CarpLevel = $Carp::CarpLevel + 1; - snippet linc local $${1:a} = $$1 + ${2:1}; ${3} @@ -69,7 +67,15 @@ snippet script #!/usr/bin/env perl use strict; use warnings; - +snippet test + #!/usr/bin/env perl + use strict; + use warnings; + use Test::More; + + ${1} + + done_testing; snippet nac use namespace::autoclean; snippet dd @@ -123,7 +129,6 @@ snippet has is => '${2:ro}', isa => '${3:Str}',${4} ); - ${5} snippet hasl has ${1:attr} => ( is => '${2:ro}', |