News for hackers. Stuff that matters.
Re:Awk vs. Perl (2009) by lloeki on Tuesday June 27, 2017 @05:04PM (#14649425)
Ruby does not have $_ which you happen not to see in perl one liners because of its implicit nature, and that makes those one liners very clear and terse.
Re:Awk vs. Perl (2009) by davidw on Tuesday June 27, 2017 @05:24PM (#14649589)
Ruby has $_

     seq 1 20 | ruby -pe 'puts "num is #{$_}"'
Perl is probably a bit more concise, but you can do a lot of stuff with Ruby, which is convenient if you use it for other things too.