I tried using threads but they don't execute in the background or i simply am not using them correct.
You do have to do a little more than put use threads; at the top of your code.
Which is all you've done in the code you posted the link to. (It is preferred that you post your code here, not some other place on the net.)
Did you read the POD for the threads module? Is there something you read but didn't understand that we could help you with?
In reply to Re^3: Execute a sub in the background
by BrowserUk
in thread Execute a sub in the background
by egzoti4en
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |