I have two subroutines
Example sub1 and sub2, Here each sub will fetch some data from the database and prepare a hash of return values and returns that hash to main program.
Here, I want to call both subroutine as a parallel processes at same time and get the return values from those subs to Main caller program.
In main program I will call both subs in a dummy while loop and wait for 10 Minutes and again will call the same subs after 10 Minutes;
How can I do this....