[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] why address called reference?



Xah Lee <xah@best.com> writes:
>Why does Perl call memory address references? e.g. "$xx is a reference to an a
rray", instead of "$xx is an address of an array".

Because you shouldn't be encouraged to think of it as a memory address :-)

There are also symbolic references, BTW, although I'd advise against using them
normally.

Matthias

-- 
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "I'm set free to find a new illusion" -- Velvet Underground

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch