Theocacao
Leopard
Design Element
Comment on "Numeric Palindrome Finder in Ruby"
by vasi — Dec 07
Here's the perl version:

printf "%d\n", scalar(grep { "$_" eq reverse "$_" } (0..10000));
Back to "Numeric Palindrome Finder in Ruby"
Design Element

Copyright © Scott Stevenson 2004-2015