in reply to Re: Counting open files?
in thread Counting open files?

Pity I can't do close($_) for 1..255, this would be portable.

Replies are listed 'Best First'.
Re^3: Counting open files?
by BrowserUk (Patriarch) on Jun 22, 2005 at 11:15 UTC

    Do you really want to close stdin and stderr?

    Is there anything that would stop you from doing that if it is what you want?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.