Applying a few standard golf tricks...
<>=~$";$\+=2*$s[$_%$']++for split$",<>;print [download]
44, pad as required :)
In reply to Re: Golf code in perl by tybalt89 in thread Golf code in perl by tt08