If you want a better thread introduction, google for "perl threads tutorial". There are all sorts of introductions to threads to get you going. Also, searching groups.google.com for "perl threads" will yield many example programs, explaining all the pitfalls to watch out for. The tutorial section here at Perlmonks also has some nice articles, just search the tutorial page for "thread"