From: matz@... (Yukihiro Matsumoto) Date: 2001-09-23T03:22:41+09:00 Subject: [ruby-talk:21556] Re: Reassigning and reopening $stdin Hi, In message "[ruby-talk:21553] Reassigning and reopening $stdin" on 01/09/23, Brian Marick writes: |I know that $stdin.reopen("alternate-in") will work, but I cannot find a |way to put $stdin back to its original value. So I don't see how you can |temporarily redirect $stdin. Perhaps the answer is just "you shouldn't ever |want to", which actually would be OK with me. You've find the hole. Sigh. That is a behavior that I couldn't define properly. So $stdin assignment is not a final behavior. If you have an opinion for what-it-should-be, I'm open. matz.