fireartist has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way to check whether binmode() has been called on a filehandle?
If not, I notice in the perl source file PerlIO/via/via.xs that there's a method PerlIO_modestr which might help, but I lack the tuits to look into this further. Any pointers appreciated.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Has a filehandle been binmode'd
by borisz (Canon) on Feb 27, 2006 at 14:04 UTC | |
by ambrus (Abbot) on Feb 27, 2006 at 20:23 UTC | |
Re: Has a filehandle been binmode'd
by derby (Abbot) on Feb 27, 2006 at 13:53 UTC |
Back to
Seekers of Perl Wisdom