sub getProc { #do some stuff } sub getInput { while(<FILE>) { # do some stuff # call getProc but run it in the background } [download]
In reply to How do run a subroutine in the background by dude01