On Fri, Aug 24, 2012 at 5:06 AM, Abigail <abig...@abigail.be> wrote:
> On Tue, Aug 21, 2012 at 07:35:55PM -0700, Yitzchak Scott-Thoennes wrote:
>> The single pass approach, as given in perlfaq "How do I select a random line 
>> from a file?" adapts to work here too.
> It's a classical problem, and IIRC, discussed by Knuth's The Art of Computer 
> Programming, Vol 1.

Yes, I've read it there; I just figured perlfaq was readily accessible
to more people :)

Reply via email to