|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Perl thread confustionby 7stud (Deacon) |
| on Feb 15, 2013 at 06:40 UTC ( #1018849=note: print w/ replies, xml ) | Need Help?? |
|
1. The most recent documentation for threads.pm states that variables are by default thread local? I have also read that everything gets copied over to a new thread. Which is it? Well, first everything is copied over to the new thread, then because everything is a copy, any changes to the copied variables don't effect the values of those variables in other threads, i.e. everything is thread local.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||