In reply to Re^2: passing a file handle to a subroutine by Anonymous Monk in thread passing a file handle to a subroutine by kevind0718