Re: sharing objects ?

[email protected] (Arthur Bergman)
Newsgroups perl.ithreads
Message-ID <[email protected]>
On onsdag, apr 23, 2003, at 10:06 Europe/Stockholm, [email protected] 
wrote:

> can anyone give me an example how the object sharing should look like
> with sharing an reference to an object, i'm playing around with all 
> kind of
> references is here and derefencing but have not succeeded yet ... 
> anyone ?
>
> martin
>
>


my $ref = &share({});
bless $ref;
async{ $ref->{foo} = "hi" );

Arthur
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.