You didn't understand the OP's concerns, you regurgitated a CS 102 solution that you "encountered", and you posted pseudocode instead of Perl.
Is anyone surprised? I'm not.
In reply to Re^2: Pick k numbers at random
by Anonymous Monk
in thread Pick k numbers at random
by Chuma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |