One of the things that can be annoying with perl is that there is more than eight ways to do the same thing, some far more cryptic than others. You can do some crazy things with scala too.
val x = List(2,3,5) //This is how it should be done. x.foldLeft(0)( (a,b) =>; b + a ) //This is how it can be done foldLeft (0 /: x) ( (a,b) => b+a ) //This is the foldRight alternative to the above foldLeft. (x :\ 0) ( (a,b) => b + a ) // YUCK //