[Spread-users] Spread Perl Modules Usage Help
Kevin Esteb
kesteb at wsipc.org
Fri Nov 7 13:37:02 EST 2008
I personally wouldn't use Spread.pm directly. There are several very good modules on CPAN that encapsulate this module and provide nicer api's. I am partial to my own Spread::Messaging, which has several examples on how to use it.
I used this module in a production environment for several months without any problems. It may work equally well for your needs. If not, I would investigate the other modules to see if they meet your needs.
From: spread-users-bounces at lists.spread.org [mailto:spread-users-bounces at lists.spread.org] On Behalf Of Rodrick Brown
Sent: Friday, November 07, 2008 10:16 AM
To: spread
Subject: [Spread-users] Spread Perl Modules Usage Help
The documentation for Spread.pm seems pretty lax on providing anything useful other than joining a group.
Anyone here using this module could provide an example of how to receive all members in a group? What's documented in the C API does not corelate very well to the Perl module thanks.
This is basically all which is stated in the documentation:
# Receive messages (see spread's man pages for more description)
my($service_type, $sender, $groups, $mess_type, $endian, $message) =
Spread::receive($mbox);
I get null values for these varibles when calling Spread::Receive($mbox).
--
[ Rodrick R. Brown ]
http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20081107/2ba8114c/attachment.html
More information about the Spread-users
mailing list