Re:Awk vs. Perl (2009)
by davidw on Tuesday June 27, 2017 @02:22PM
(#14647854)
FWIW, Ruby has a lot of the same command line arguments that Perl does.
[ Parent
| on HN ]
Yes, Ruby was inspired quite a bit by Perl. Matz says so somewhere, IIRC. Even it's regex support (I mean the way it is integrated into the language, unlike in Python, not that fact that Ruby supports regex per se), and some language features, are inspired by Perl. Also either or both of Lisp and Smalltalk, I've read.
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.