in reply to Re: How can I add all the numbers in an array with out doing a foreach loop?
in thread How can I add all the numbers in an array with out doing a foreach loop?

$ perl -wle'my@x=(0..10);$"="+";$\=~s/$/"@x"/ee;print""' 55 $

Enjoy, Have FUN! H.Merijn
  • Comment on Re: Answer: How can I add all the numbers in an array with out doing a foreach loop?
  • Download Code