[SCM] libmessage-passing-perl Debian packaging branch, master, updated. debian/0.111-3-14-g44f6e88

Tomas Doran bobtfish at bobtfish.net
Mon May 6 11:56:41 UTC 2013


The following commit has been merged in the master branch:
commit 9c148ef4438bcf7f2654e972db852c860ff8a0fe
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Sun Mar 4 01:00:29 2012 +0000

    Add a description

diff --git a/lib/Log/Stash/DSL.pm b/lib/Log/Stash/DSL.pm
index 57d63a3..01e866a 100644
--- a/lib/Log/Stash/DSL.pm
+++ b/lib/Log/Stash/DSL.pm
@@ -95,6 +95,7 @@ Log::Stash::DSL - An easy way to make chains of logstash objects.
 
 =head1 SYNOPSIS
 
+    package mylogcollectorscript;
     use Log::Stash::DSL;
 
     with 'MooseX::GetOpt';
@@ -117,3 +118,19 @@ Log::Stash::DSL - An easy way to make chains of logstash objects.
         );
     };
 
+=head1 DESCRIPTION
+
+This module provides a simple to use helper system for writing
+scripts which implement a L<Log::Stash> server, like
+the built in logstash script.
+
+Your script can just be a script, however if it's a class with a
+C<< ->new >> method, then the new method will be called, or
+if you're a L<MooseX::Getopt> user (i.e. you implement a new_with_optons
+method), then this will be called.
+
+You are expected to define one or more chains, and then call the run
+function.
+
+=cut
+

-- 
libmessage-passing-perl Debian packaging



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