]> git.donarmstrong.com Git - lib.git/commitdiff
add hasmoo snippet
authorDon Armstrong <don@donarmstrong.com>
Mon, 21 Aug 2023 19:29:31 +0000 (12:29 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 21 Aug 2023 19:29:31 +0000 (12:29 -0700)
emacs_el/snippets/cperl-mode/hasmoo [new file with mode: 0644]

diff --git a/emacs_el/snippets/cperl-mode/hasmoo b/emacs_el/snippets/cperl-mode/hasmoo
new file mode 100644 (file)
index 0000000..2754fff
--- /dev/null
@@ -0,0 +1,19 @@
+# -*- mode: snippet -*-
+# name: hasmoo
+# key: hasmoo
+# --
+=item ${1:attribute}
+
+$0
+
+=cut
+
+has $1 => (is => 'ro',
+           isa => 'Str',
+           lazy => 1,
+           builder => '_build_$1',
+           );
+
+sub _build_$1 {
+
+}
\ No newline at end of file