Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Handy Algorithm For Using B::Generate

by diotalevi (Canon)
on Jan 26, 2004 at 01:34 UTC ( [id://324047]=note: print w/replies, xml ) Need Help??


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

B::SPECIAL objects are instances of pointers to the perl global invariants, PL_sv_undef, PL_sv_yes, and PL_sv_no. You were seeing one of those.
  • Comment on Re: Re: Handy Algorithm For Using B::Generate

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

    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
        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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://324047]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found