[libcatmandu-perl] 42/46: Adding more POD

Jonas Smedegaard dr at jones.dk
Tue Oct 14 13:52:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.9205
in repository libcatmandu-perl.

commit f2813bba4ebfcc5b2b7093be75af9188174e3fcb
Author: Patrick Hochstenbach <patrick.hochstenbach at ugent.be>
Date:   Fri Oct 3 11:56:53 2014 +0200

    Adding more POD
---
 lib/Catmandu/Fix/Base.pm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/lib/Catmandu/Fix/Base.pm b/lib/Catmandu/Fix/Base.pm
index 3463aba..dd53331 100644
--- a/lib/Catmandu/Fix/Base.pm
+++ b/lib/Catmandu/Fix/Base.pm
@@ -1,5 +1,31 @@
 package Catmandu::Fix::Base;
 
+=head1 NAME
+
+Catmandu::Fix::Base - Base class for all code emitting Catmandu fixes
+
+=head1 SYNOPSIS
+
+    package Catmandu::Fix::my_fix;
+
+    use Catmandu::Sane;
+    use Moo;
+
+    with 'Catmandu::Fix::Base';
+
+    sub emit {
+        my ($self, $fixer) = @_;
+        ....FIXER GENERATING CODE....
+    }
+
+=head1 SEE ALSO
+
+For more information how to create fixes read the following two blog posts:
+
+http://librecat.org/catmandu/2014/03/14/create-a-fixer.html
+http://librecat.org/catmandu/2014/03/26/creating-a-fixer-2.html
+=cut
+
 use Catmandu::Sane;
 use Catmandu::Fix;
 use Clone ();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git



More information about the Pkg-perl-cvs-commits mailing list