in reply to Win98 strangeness

All OSes have limits on the number of filehandles that a single process can have open at one time. Sometimes this can be increased by setting a kernel parameter or using a command like ulimit (on UNIX). I don't know about win98 personally, so I can't say for sure.

There is a module FileCache that comes with perl. It allows you to have more files open that then OS permits by closing and re-opening files (as needed) in excess of your OSes limit. I'm not sure if this works with win98 or not but it is worth a shot.

Replies are listed 'Best First'.
RE: RE: Win98 strangeness
by Odud (Pilgrim) on Jun 21, 2000 at 23:11 UTC
    Good point and I will look at the module - but as I'm closing the file and (in the case of backticks) never opening anything I don't hold out much hope. The odd thing about open from the pipe output is that if you hit EOF then it looks like Windows closes the temporary file before the Perl close gets a chance and strange warnings are sometimes produced. It sometimes worries me that the beta of ActiveState 5.6 was only available for W2000 and NT not W9x.