Actually, I copy the code from perlthrtut. I don't see any comment or code at there that let me add $|++ or use join method on each thread. Anyway, if you are right, I doubt whether thread tutorial is clear enough.
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction