http://www.perlmonks.org?node_id=294531


in reply to Re: Re: Friday Golf: All 2-digit combinations
in thread Friday Golf: All 2-digit combinations

53.

for$a(9,0..9){for$b($a..9){$_.=$a.$b}s/$a$a/$a/}print

--
"To err is human, but to really foul things up you need a computer." --Paul Ehrlich

Replies are listed 'Best First'.
Re: Re: Re: Re: Friday Golf: All 2-digit combinations
by BrowserUk (Patriarch) on Sep 26, 2003 at 19:55 UTC

    Scratch! Too eager:)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
    If I understand your problem, I can solve it! Of course, the same can be said for you.