From: Terry Cooper Date: 2009-06-06T10:14:20+09:00 Subject: STDIN, OUT, ERR and $stdin, out, err - Differences? Can anyone explain what's happening here? print $stdin.fileno => 0 print $stdout.fileno => 0 print $sterr.fileno => 0 print STDIN.fileno => 0 print STDOUT.fileno => 1 print STDERR.fileno => 2 print STDOUT.object_id => 21673330 print $stdout.object_id => 21673330 I get the same results in and out of eclipse and with irb ruby 1.8.6, XP Many thanks. -- Posted via http://www.ruby-forum.com/.