I'd be pretty surprised if this were a Perl limit,
unless it's one of those things you configure at
compile time (when you compile perl I mean) or is
a limitation of the compiler that compiled perl or
the standard C library it was compiled with or
somesuch like that.
More likely I
suspect you're hitting an OS limitation. This does
surprise me a little coming from OS X, but it's not
unheard-of. Earlier versions of MacOS had a global
system-wide limit, and it was preposterously low. I
think 9.0 *raised* the limit to like 256 or maybe 512,
and again that's global for all apps combined. If OS
X limits *each process* to 250, that seems inane, but
it's still an improvement.
My perl here can open a thousand files for output
(5.8.1 on Mandrake 9.2), but it doesn't seem to be
able to go much higher than that.
"Inappropriate ioctl for device", $! tells me on
about the 1022nd file. Again, this seems bad,
but I doubt it's perl's fault.
split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||