in reply to Elegantly map fizz to buzz
sub f3 { no warnings 'recursion'; $_[0] * !( $_[0] % 3 && $_[0] % 5 ) + ($_[0] && f3($_[0] - 1)) }
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Elegantly map fizz to buzz
by LanX (Saint) on May 15, 2016 at 19:56 UTC |