Aaron Sherman <[EMAIL PROTECTED]> writes: > On Mon, Oct 22, 2001 at 11:30:01AM -0700, David Whipp wrote: >> > > More, someone has mentioned the %x{$_}++ feature, which IMHO, MUST >> > > continue to work. >> > >> > What is void plus one? >> >> Can't we utilize the lazy arrays stuff to make all this work. >> Out of the box, all entries could default to NaN. But its easy >> to write >> >> @a ^= 0; >> >> to change this default. I'm sure this could be extended to work >> with hashes. I'm not sure what the correct syntax is, though. > > Nope. > > my @a; > @a ^= 0; > print @a > > Are you saying that this should print an infinite number of zeros?
Unlikely, since the hyper operator is lazy. I submit it should print the empty string. This is all nastiness arising from the bloody stupid suggestion that undef numify to NaN isn't it? -- Piers