Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
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 wandering the Monastery: (7)
As of 2014-08-23 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls