On 08/08/08 18:07 +0100, Andy Armstrong wrote: > $seed++ is $seed - ++ after the scalar is a postincrement - it returns > the current value then increments it. If you want preincrement do ++ > $seed instead. I knew I was missing something obvious. Thanks. -- Regards, Faber Fedor President Linux New Jersey, Inc. 908-320-0357 800-706-0701 http://www.linuxnj.com