in reply to Re: Sieve of Eratosthenes Golf?
in thread Sieve of Eratosthenes Golf?

The guys above you seem to have proceeded on the assumption that they should write (the contents of) a sub which returned the correct numbers, whereas yours prints them and you've included the sub block too. Not sure what the rules of "golf" are at this point but you're definitely ahead!


($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
=~y~b-v~a-z~s; print