You're asking the wrong person. You asked in response to a post that boils down to "What issue with globals and threads?"
Don't get me wrong. Global variables should be avoided. The solution is to properly scope your variables with my, not to make every function a module. That doesn't even make variable less global (although it does lessen the chance of a name collision).
In reply to Re^4: Threads and LWP::UserAgent question
by ikegami
in thread Threads and LWP::UserAgent question
by gatito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |