In reply to Re^2: using a variable as a filehandle by itub in thread using a variable as a filehandle by bear0053