Front page | perl.perl6.language |
Postings from May 2001
Re: .NET
Thread Previous
|
Thread Next
From:
Dan Sugalski
Date:
May 2, 2001 12:39
Subject:
Re: .NET
Message ID:
5.0.2.1.0.20010502153814.01ead940@24.8.96.48
At 09:30 PM 5/2/2001 +0400, Ilya Martynov wrote:
>DS> At 12:54 PM 5/2/2001 -0400, John Porter wrote:
> >> David Grove wrote:
> >> > distributed objects,
> >>
> >> I don't recall discussion of this wrt perl6, frankly.
>
>DS> I've mumbled about it on and off. I'd like to be able to do:
>
>DS> $foo = new Bar;
>DS> print SOCKET serialze($foo);
>
>DS> and on the other end do:
>
>DS> $foo = unserialize(<SOCKET>);
>DS> $foo->bar();
>
>You can serialize/deserilize object with Storable
>
>$foo = new Bar
>store_fd $foo, \*SOCKET;
>
>and on the other end
>
>$foo = retrieve_fd \*SOCKET;
>$foo->bar;
>
>It will work if you have Bar module on both ends.
Right, but I want it to work if you don't...
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk
Thread Previous
|
Thread Next