At 09:48 AM 6/6/02 -0700, Mark Anderson wrote:
>I came across a reference to lvalue(s) in
>    perldoc -f substr
>I then searched perldoc for "lvalue", and looked at each reference in:
>    perldoc perldiag
>    perldoc perltoc
>    perldoc perlfunc
>    perldoc perlsub
>    perldoc perlop
>    perldoc perlguts
>    perldoc perlsyn
>    perldoc perlfaq7
>    perldoc perlfaq4
>    perldoc perlref
>
>It's obvious to me that lvalue is a commonly understood term among perl
>gurus, but I had to return my Llama to the Llibrary so I can't see if it's
>explained there, but I'm confident/hopeful that someone out there can either
>fair-use an explaination from their Llama, or even better provide an English
>explanation.

It's a common computing term: 
http://nightflight.com/foldoc-bin/foldoc.cgi?query=lvalue.  For some reason 
they don't have a definition for 'rvalue', which is something that can 
appear on the right hand side of an assignment.  Probably just too simple 
(but see, e.g., http://cplus.about.com/library/glossary/bldef-rvalue.htm).

What's special about Perl is that it makes lvalues out of certain things 
which other languages don't.  For instance, substr().  And the ternary 
operator (?:).  That usually blows a few minds in beginners' classes.


--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to