[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:57:11 UTC 2013
The following commit has been merged in the master branch:
commit 86db662d0740ef8d0eede735d09b5f1c0aac2439
Author: Tomas Doran <bobtfish at bobtfish.net>
Date: Sun Jun 10 11:49:13 2012 +0100
More fixes to the DSL docs
diff --git a/lib/Message/Passing/DSL.pm b/lib/Message/Passing/DSL.pm
index 54b724a..c56839c 100644
--- a/lib/Message/Passing/DSL.pm
+++ b/lib/Message/Passing/DSL.pm
@@ -138,19 +138,25 @@ This module provides a simple to use helper system for writing
scripts which implement a L<Message::Passing> server, like
the built in L<message-pass> script.
+Rather than having to pass instances of an output to each input in the
+C<output_to> attribute, and full class names, you can use short names
+for component classes, and strings for the C<output_to> attribute,
+the DSL resolves these and deals with instance construction for you.
+
+See example in the SYNOPSIS, and details for the exported sugar
+functions below.
+
=head2 FUNCTIONS
=head3 message_chain
-Constructs a log chain (i.e. a series of log objects feeding into each
-other), warns about any unused parts of the chain, and returns the
-chain head (i.e. the input class).
+Constructs a message chain (i.e. a series of Message::Passing objects
+feeding into each other), warns about any unused parts of the chain,
+and returns an array ref to the heads of the chain (i.e. the input class(es)).
Maintains a registry / factory for the log classes, which is used to
allow the resolving of symbolic names in the output_to key to function.
-See example in the SYNOPSIS, and details on the other functions below.
-
=head3 output
Constructs a named output within a chain.
--
libmessage-passing-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list