LVALUE is used internally for the 'magic' used with substr, vec, pos, keys, etc. when you use them as lvalues in an assignment. It holds (in addition to typical scalar data) a pointer to the Sv* that it can modify and what part to modify.
PerlGuts Illustrated has a lot of information on how Sv*'s are layed out. In reguards to your original question is shows that SvRV (a struture that holds only a reference to another Sv*) is smaller than SvPV, SvPVIV, and SvPVNV, which are the 3 that I'm guessing are considered 'SCALAR' by
ref. So 'REF' might indicate that the underlying structure is to small to hold a full scalar value, and would need to be upgraded to a SvPV of better to hold a non reference value. I don't know that any of that information would be of any use to Perl code, and perl handles all that on the C level so 'REF' may be only informative, or entirely redundant, depending on your viewpoint. (but as others have noted
ref is less than totaly useful it self as it stands now)
Disclaimer: I've only recently started looking at the internals of perl, I could be totaly off mark on any of this.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.