If accessor methods were added that simply return $stdin/out then anyone could easily be override those using various methods like Refinements and/or extended Classes?
Then hacky tricks like messing with $stdin globally wouldn't be needed.
Maybe accessor methods wouldn't even be the right technique but it would be nice to somehow be able to easily override these without affecting $stdin/out globally?
If accessor methods were added that simply return $stdin/out then anyone could easily be override those using various methods like Refinements and/or extended Classes?
Then hacky tricks like messing with $stdin globally wouldn't be needed.
For example see: http://www.simulacre.org/unblocking-readline-in-eventmachine