Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Where to find info on low level perl internals names?

by Corion (Pope)
on Oct 25, 2011 at 11:04 UTC ( #933600=note: print w/ replies, xml ) Need Help??


in reply to Where to find info on low level perl internals names?

For general information on Perls internal memory structures, I would look at illguts. The names for the various structures are best treated as Just Names, but the following mnemonics work for me:

SV - Scalar Value IV - Integer Value NV - Numerical Value RV - Reference Value PV - Pointer Value (like *char, for example) LV - I haven't encountered this one, maybe it lives in illguts GV - glob value. The glob is (I think) shorthand for global AV - Array Value HV - Hash Value CV - Code Value (think subroutine reference) FM - Format IO - Filehandle
The ops are also documented in illguts I believe.

Update: Typoo


Comment on Re: Where to find info on low level perl internals names?
Download Code
Replies are listed 'Best First'.
Re^2: Where to find info on low level perl internals names?
by patcat88 (Deacon) on Oct 25, 2011 at 14:01 UTC
    LV = left hand value, used for "substr($string, 0, 10) = "replacement value";" system.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-07-28 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls