Search results for "dist:Data-RandomKeep LUCS"
Data::RandomKeep - Randomly keep a given number of offered items.
Suppose you want to keep ten random lines from a file. You might read all the lines in an array, shuffle it, and keep the first ten lines, but that can be quite wasteful, especially if the file is big. This module implements the task in a more effici...
LUCS/Data-RandomKeep-0.02 - 03 Aug 2008 16:33:10 UTC