Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: FileHandle objects as data members of another object

by blazar (Canon)
on Oct 23, 2006 at 08:43 UTC ( [id://579960]=note: print w/replies, xml ) Need Help??


in reply to Re^3: FileHandle objects as data members of another object
in thread FileHandle objects as data members of another object

Is that cygwin? I don't think Windows puts a limit on the number of file handles a process can open (other than limits regarding system memory and other mad upper bounds).

No, M$ Windows XP Home Edition Service Pack 2.

  • Comment on Re^4: FileHandle objects as data members of another object

Replies are listed 'Best First'.
Re^5: FileHandle objects as data members of another object
by jbert (Priest) on Oct 23, 2006 at 09:09 UTC
    Hmm. fopen/open on Windows (the userspace C stdio and unix-like API) have limits like that but the underlying OS facilities don't (unlike Unix - the per-process limit there is a kernel thing).

    I'd naively thought that native (non-cygwin) perl would have gone all the way down to OpenFile() and friends rather than use the unix-like versions.

    You learn something every day.

Re^5: FileHandle objects as data members of another object
by Anonymous Monk on Oct 24, 2006 at 13:40 UTC
    Windows puts no limit on open files as long as you use the CP/M compatibility functions, which don't work on NT-derived Windows anymore. And on Win95 and later I think they put a strain on some other scarce resource, so effectively you can't use them that way too. So your sentence is right for Win 3.11 and older, and only with (even then) deprecated programming style.

      I think you may have wanted to reply to jbert's post. (And if you were not Anonymous I would've /msg'd you instead of replying...)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://579960]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-26 00:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found