]> git.donarmstrong.com Git - lib.git/blob - emacs_el/snippets/perl-mode/perlmodule
add more snippet rules
[lib.git] / emacs_el / snippets / perl-mode / perlmodule
1 # -*- mode: snippet -*-
2 # name: perlmodule
3 # key: perlmodule
4 # expand-env: ((yas-indent-line -1))
5 # --
6 # This module is part of ${1:the_project}, and
7 # is released under the terms of the GPL version 3, or any later
8 # version (at your option). See the file README and COPYING for more
9 # information.
10 # Copyright `(format-time-string "%Y")` by Don Armstrong <don@donarmstrong.com>.
11
12 package ${2:THEPACKAGE};
13
14 =head1 NAME
15
16 $2 -- $3
17
18 =head1 SYNOPSIS
19
20 C<use $2;>
21
22 =head1 DESCRIPTION
23
24 $4
25
26 =cut
27
28 use warnings;
29 use strict;
30 use vars qw($VERSION $DEBUG %EXPORT_TAGS @EXPORT_OK @EXPORT);
31 use base qw(Exporter);
32
33 BEGIN{
34      $VERSION = '0.1';
35      $DEBUG = 0 unless defined $DEBUG;
36
37      @EXPORT = ();
38      %EXPORT_TAGS = (#a    => [qw()],
39                     );
40      @EXPORT_OK = ();
41      Exporter::export_ok_tags(keys %EXPORT_TAGS);
42      $EXPORT_TAGS{all} = [@EXPORT_OK];
43
44 }
45
46 $0
47
48 1;
49
50
51 __END__
52 # Local Variables:
53 # indent-tabs-mode: nil
54 # cperl-indent-level: 4
55 # End: