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
"
Copyright © Scott Stevenson 2004-2015
by vasi — Dec 07
printf "%d\n", scalar(grep { "$_" eq reverse "$_" } (0..10000));