http://qs321.pair.com?node_id=671735


in reply to Re^3: Temporary text files with File::Temp
in thread Temporary text files with File::Temp

It depends on what the special layer was. For example if I could write:

binmode($fh, ":text");

And have it do the right thing on all systems, it'd be an okay solution. Of course, the best place to fix this is still in File::Temp, because teaching the students that they'll need two commands isn't quite as cool as just giving them one.

I've looked at the File::Temp code, and it looks pretty easy to patch, so as soon as I have time and access to a Windows box, I'll be working on that. Probably mid-April.