in reply to 2 threads dont want to work

ActivePerl doesn't support Threading. However you can use fork(), but some people say it's kinda buggy (I never had any problems with but i only used it a couple of times). You should try using fork() and see what happens.