[Spread-users] PERL issues...
Michael C. Jackson
mcj at corp.halfpricehosting.com
Thu Feb 21 17:44:19 EST 2002
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 "|$_|";
}
This would return "||||" which would seem to indicate that the return
values are null. :)
Thinking about just giving up and using C.
-----Original Message-----
From: Theo Schlossnagle [mailto:jesus at omniti.com]
Sent: Thursday, February 21, 2002 5:32 PM
To: Michael C. Jackson
Subject: Re: [Spread-users] PERL issues...
On Thursday, February 21, 2002, at 05:01 PM, Michael C. Jackson wrote:
> Try:
> Spread::connect(
> 'spread_name' => '4803 at localhost',
> 'private_name' => 'test.singularity') or die();
I didn't notice before... connect expects a hash ref not a hash;
Spread::connect({
spread_name => '4803',
private_name => 'test'
});
--
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