Help for this page

Select Code to Download


  1. or download this
    X:for(my$x=1;;){$x%$_||next(X)for(2..$x++);print$x.$/}
    
  2. or download this
    X:for(my$x=1;;){$x%$_||next(X)for(2..$x++);warn$x.$/}
    
  3. or download this
    X:for($x=1;;){$x%$_||next(X)for(2..$x++);warn$x.$/}
    
  4. or download this
    X:for($x=1;;){map{$x%$_||next X}2..$x++;warn$x.$/}
    
  5. or download this
    for($x=1;;){map$x%$_||next,2..$x++;warn$x.$/}
    
  6. or download this
    $x++;{map$x%$_||redo,2..$x++;warn$x.$/;redo}