The task guaranties even numbered lists, and it doesn't matter in which direction I sum up.
Tho I could have avoided sum map ... pairs with a for loop and a
inside, hence avoiding the dependency on List::Util
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^2: Perl Weekly Challenge 206 with List::Util
by LanX
in thread Perl Weekly Challenge 206 with List::Util
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |