http://www.perlmonks.org?node_id=1174915


in reply to How many different varieties (color, size, etc) of socks do you have in your sock drawer?

Related: Oddsockeaters. I hope they'll make an English version, too.

($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,
  • Comment on Re: How many different varieties (color, size, etc) of socks do you have in your sock drawer?
  • Download Code