in reply to
Threads reinitializing the variable
It is not the last value, it is the count. To get the actual sum, you must use the returned value somehow:
$total_count += $ret;
[download]
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on
Re: Threads reinitializing the variable
Download
Code
In Section
Seekers of Perl Wisdom