in reply to Selecting random records from an array
my $n = @input*.75;
my $m = @input;
my @subset = grep rand($m--)<$n?$n--:0, @input;
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (461 votes). Check out past polls.