Skip to content

Commit

Permalink
add my perl snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
wjackson committed Aug 22, 2011
1 parent ccd80e4 commit d0ba8b5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions perl-mysnips.snippets
@@ -0,0 +1,27 @@
snippet str
use strict;
use warnings;

snippet test
use strict;
use warnings;
use Test::More;

${1}

done_testing;

snippet moo
package ${1};

use Moose;
use namespace::autoclean;

__PACKAGE__->meta->make_immutable;
1;

snippet has
has => (
is => 'ro',
isa => '${1}',
);

0 comments on commit d0ba8b5

Please sign in to comment.