Just another Perl shrine | |
PerlMonks |
Re: Golf code in perlby thospel (Hermit) |
on Jan 22, 2018 at 23:28 UTC ( [id://1207716]=note: print w/replies, xml ) | Need Help?? |
Oooh, a golf thread. also 44 strokes:
m? ?||map$\+=2*$s[$_%$']++,split for<>;print In older perls you could leave out the initial m and it would have been 43
In Section
Seekers of Perl Wisdom
|
|