[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:44 UTC 2013


The following commit has been merged in the master branch:
commit 7a78c0832461e3cacc40911631e6bb085bfc8bf9
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Sun Mar 4 18:46:40 2012 +0000

    Allow other simple scripts to subclass Log::Stash and override things more easily

diff --git a/lib/Log/Stash.pm b/lib/Log/Stash.pm
index 34aceba..fa23c0c 100644
--- a/lib/Log/Stash.pm
+++ b/lib/Log/Stash.pm
@@ -55,7 +55,10 @@ sub build_chain {
         };
 }
 
-sub start { run_log_server __PACKAGE__->new_with_options->build_chain }
+sub start {
+    my $class = shift;
+    run_log_server $class->new_with_options(@_)->build_chain;
+}
 
 my $json_type = subtype
   as "HashRef";

-- 
libmessage-passing-perl Debian packaging



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