in reply to Re^3: Preventing IO::Handles from closing on destructionin thread Preventing IO::Handles from closing on destruction