in reply to Bad file descriptor

Check the doc page for $!. The value (or not) of $! is only meaningful if a system call fails. It's value can be changed by a successful system call -- it just has no meaning.

Replies are listed 'Best First'.
Re^2: Bad file descriptor
by okarmi (Initiate) on Oct 14, 2009 at 15:58 UTC
    Thank you and kennethk!