you will see that blessed things cannot be sharedNo, shared things can't be (usefully) blessed, which is quite different. This is valid code:
The main problem with shared objects is that their destructor currently gets called multiple times, once per thread.my $x = bless [], 'X'; share $x;
Dave.
In reply to Re^2: Annoying threads share problem!
by dave_the_m
in thread Annoying threads share problem!
by Ace128
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |