[Spread-users] PERL issues...
Theo Schlossnagle
jesus at omniti.com
Thu Feb 21 17:50:18 EST 2002
On Thursday, February 21, 2002, at 05:44 PM, Michael C. Jackson wrote:
> Well, I made the changes, and now Spread::join fails. I tried printing
> what Spread::connect returns, but it appears to be null.
>
> For example:
>
> @returned=Spread::connect({
> spread_name => '4803',
> private_name => 'test'
> });
>
> foreach(@returned) {
> print "|$_|";
> }
Read the docs. If you have installed the perl Spread module. You
should be able to say:
perldoc Spread
or man Spread
Spread::connect doesn't join anything. Spread::join does.
Spread::connect doesn't return of list of groups.
Spread::connect should return ($mailbox, $privategroup) as a list.
If $mailbox is undef, your connect failed. This isn't a problem with
perl or Spread, it probably means your spread daemon isn't running or
isn't running on the port you think...
> Thinking about just giving up and using C.
You are using C... it just looks like perl ;-) (Spread.pm is written in
xs)
--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
More information about the Spread-users
mailing list