4 ms·
Oh, I want to play! Here's Perl: map { $_*$_ } grep { $_%3 != 0 } map { $_+1 } @a Interestingly, in this particular case Perl seems to have way less synta
by __david__ 16y ago
Oh, I want to play! Here's Perl:
map { $_*$_ } grep { $_%3 != 0 } map { $_+1 } @a
Interestingly, in this particular case Perl seems to have way less syntax than ruby or python, which I find rather ironic. It does have to be read backwards though, because of the syntax of map and grep...