in reply to Has a filehandle been binmode'd

See PerlIO and then the get_layers function.
my @l = PerlIO::get_layers($fh, details => 1);
Boris

Replies are listed 'Best First'.
Re^2: Has a filehandle been binmode'd
by ambrus (Abbot) on Feb 27, 2006 at 20:23 UTC