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