in reply to Error on assigning shared hash

You missed this part of perlthrtut:
In the case of a shared array, all the array's elements are shared, and for a shared hash, all the keys and values are shared. This places restrictions on what may be assigned to shared array and hash elements: only simple values or references to shared variables are allowed - this is so that a private variable can't accidentally become shared. A bad assignment will cause the thread to die.
Your hash values are neither simple nor shared.

Replies are listed 'Best First'.
Re: Re: Error on assigning shared hash
by shonorio (Hermit) on Apr 28, 2004 at 15:03 UTC
    Runrig, thank you so much... I'm re-reading the perlthrtut to check this litle details.

    Solli Moreira Honorio
    Sao Paulo - Brazil