Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Dprof and main::BEGIN

by dbush (Deacon)
on Nov 29, 2002 at 15:48 UTC ( [id://216546]=note: print w/replies, xml ) Need Help??


in reply to Re: Dprof and main::BEGIN
in thread Dprof and main::BEGIN

broquaint many thanks for your response.

From the sounds of things, this effect is unavoidable. Just to clarify my understanding, is a CV an internal data structure? I seem to remember reading something in perlman:perlguts about two letter typedefs before I was scared away.

Regards,
Dom.

Replies are listed 'Best First'.
Re: Re: Re: Dprof and main::BEGIN
by broquaint (Abbot) on Nov 29, 2002 at 16:00 UTC
    Just to clarify my understanding, is a CV an internal data structure?
    A CV is an internal representation of a subroutine (see. Code Value). It's a typedef of a struct cv which has a pointer to a XPVCV which is a typedef for a struct xpvcv which can be found in cv.h in the perl source code. Simple as that ;)
    HTH

    _________
    broquaint

      Many thanks to broquaint and Elian for their answers. ++ to you both. I had a brief look at cv.h but the fear overcame me again.

      Regards,
      Dom

Re: Re: Re: Dprof and main::BEGIN
by Elian (Parson) on Nov 29, 2002 at 16:00 UTC
    CV is short for Code Value, and is one of perl's internal data types. (It's a sub-class of SV, the Scalar Value, if you can think of purely C code as subclassing anything :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-26 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found