On Thu, 29 Nov 2001 11:51:40 -0500, schwern@pobox.com (Michael G Schwern) wrote: > On Thu, Nov 29, 2001 at 06:36:06AM +0100, Philip Newton wrote: > > Obi-Wan error in there? I think you need rand(@arr), or you're never > > going to get the last element (since rand($#arr) always is < $#arr). > > I'm trying to put together Obi-Wan and off-by-one together somehow... Similar pronunciation, as far as I'm concerned. See http://www.tuxedo.org/~esr/jargon/html/entry/obi-wan-error.html . Cheers, PhilipThread Previous | Thread Next