in reply to Re: Close all open file descriptors
in thread Close all open file descriptors

Then again you can use POSIX::sysconf( &POSIX::_POSIX_OPEN_MAX ) instead of an arbitrary bound. :)

Update: Ooh, missed the Win32 there. Yeah, All hope abandon, ye who program here.

Replies are listed 'Best First'.
Re^3: Close all open file descriptors
by BrowserUk (Patriarch) on Jul 28, 2004 at 15:38 UTC

    I said that Win32 was the most posix compliant beast in the world :)

    print POSIX::sysconf( &POSIX::_POSIX_OPEN_MAX );; POSIX::sysconf not implemented on this architecture at ...

    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

      I said that Win32 was the most posix complient beast in the world :)

      Fortunately, that's not what you actually said :)

      --
      edan