General

Profile

sisyphus (Sisyphus P)

  • Login: sisyphus
  • Registered on: 10/10/2025
  • Last sign in: 10/10/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

10/10/2025

10:56 AM Ruby Bug #21635 (Closed): Reading code from STDIN unexpectedly sets $_ in 3.4.6+
It seems from Ruby 3.4.6+ if you pass in code that doesn't end with a newline to the ruby interpreter it sets `$_`:
```
# ruby -v
ruby 3.4.6 (2025-09-16 revision dbd83256b1) +PRISM [arm64-darwin23]
# printf 'p $_' | ruby
"p $_"
`...
sisyphus (Sisyphus P)

Also available in: Atom