in reply to I want to launch two subroutines at once

Sounds like a perfect situation for fork() and further to that Parralel::ForkManager. Or if you've got perl5.8.0 you've also got the option of using threads.
HTH

_________
broquaint

  • Comment on Re: I want to launch two subroutines at once