On Wed, 2002-07-24 at 02:57, [EMAIL PROTECTED] wrote: > Hello All, > > I want to execute same perl procedure with different parameters at > the almost same time in a perl program indefendantly. (next process > should be started without waiting for the end of previous one) The > procedure is located in .pm file. How can I use thread in perl to get > my work done? > > regards > Rohana.
You need to question whether or not you need threads. You can achieve much the same result with fork. If your subroutine does things without needing to modify variables in the main script then fork is probably a better solution. Read perldoc -f fork for more info. -- Today is Setting Orange the 59th day of Confusion in the YOLD 3168 Keep the Lasagna flying! Missile Address: 33:48:3.521N 84:23:34.786W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]