($freq[$i], $freq[$j]) = ($freq[$j], $freq[$i]); [download]
@freq[$i, $j] = @freq[$j, $i]; [download]
In reply to Re^2: Lottery using arrays by choroba in thread Lottery using arrays by perlguru22