please let me know what am i doing wrong here
One thing you are doing wrong is that @threads will retain the handles from threads created during the first iteration of the loop, for every subsequent iteration.
Try moving its declaration inside the loop.
In reply to Re: Running perl threads in loop
by BrowserUk
in thread Running perl threads in loop
by dvinay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |