Skip navigation.
Your source for Perl tips, howto's, faq and tutorials
( categories: )

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.
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;

Please any one tell me how can I do this....

-Thanks In Advance


use fork();