in reply to Re: valid filehandle
in thread valid filehandle

fileno() would be safer since tell() "on pipes, fifos, and sockets usually returns -1";
although in his particular case either one would work.

--perlplexer