in reply to Re: Pass an optional parameter to a subroutinein thread Pass an optional parameter to a subroutine