in reply to Re: Random sampling a variable record-length file.in thread Random sampling a variable record-length file.
Indeed. Especially bad is the default rand on win32 with just 15-bits and a very poor LCG. I use Math::Random::MT.