in reply to Re: Lottery using arraysin thread Lottery using arrays
($freq[$i], $freq[$j]) = ($freq[$j], $freq[$i]); [download]
@freq[$i, $j] = @freq[$j, $i]; [download]