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


in reply to Re: Re: Handy Algorithm For Using B::Generate
in thread The B:: Modules

You guys wouldn't happen to know how to fetch the scalar value associated with a B::GV object too would you?

Looking at the results from Devel::Peek::Dump($a), it would seem to me that the GV -> GP -> SV would be the pathway to the SV (and its eventual value), but there is no GP method for the B::GV object. I am sure I am just missing something very obvious here, but I can't seem to resolve this. All I can seem to get when I call B::GV->SV is a B::NULL object, which makes no sense. Am I just running into the optimizer here?

Okay, going to bed now with visions of op-code trees dancing in my head. Should make for some interesting dreams.

-stvn
  • Comment on Re: Re: Re: Handy Algorithm For Using B::Generate

Replies are listed 'Best First'.
Re: Re: Re: Re: Handy Algorithm For Using B::Generate
by diotalevi (Canon) on Jan 26, 2004 at 04:46 UTC
      diotalevi

      Excellend set of links, I especially like the PerlGuts illustrated (i'm a very visual person, so i like diagrams of data structures alot). Thanks much.

      - stvn