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


in reply to Re: Pascal triange...
in thread Pascal's triangle...

Hello! Ton,

Thanks for the correction on the double '1' !

I just ran your code and it works perfectly - it's not only more elegant but also more efficient. It helps me see how the same problem can be solved by looking at it another way. Thanks!!

kiat