in reply to Re^7: How to pass a variable to a subroutinein thread How to pass a variable to a subroutine