http://www.perlmonks.org?node_id=954127


in reply to Re^2: Problem to inspect scalars in STASH
in thread Problem to inspect scalars in STASH

You're right, of course, and I agree that the SCALAR auto-vivification thing is a bug. I remember discussing this with some P5P folks awhile back, and IIRC this auto-creation of the SCALAR slot was fairly well-baked into the core. Still, you think that wandering through the symbol table should be easy -- it's just a hash of GLOBs, right? -- and then you run into all this stuff. *sigh*
  • Comment on Re^3: Problem to inspect scalars in STASH