We don't bite newbies here... much | |
PerlMonks |
references and :sharedby playingwithbots (Novice) |
on Feb 25, 2003 at 17:59 UTC ( [id://238507]=perlquestion: print w/replies, xml ) | Need Help?? |
playingwithbots has asked for the wisdom of the Perl Monks concerning the following question:
I want to do the following:
because I want to share a hash that I'm using like:
and need to share the data structure between my main routine and a thread. But I get errors saying I can't make the ref shared. Anyone know how to "share" a reference. I also get an error when I try to:
Back to
Seekers of Perl Wisdom
|
|