in reply to Re: The Concept of References
in thread The Concept of References
Another difference between Perl's references and pointers ala C, is that a reference knows what it refers to. It knows what kind of reference it is. It's not just a reference, but an array reference or a hash reference, etc.
Update: my lack of C knowledge should be self-evident. Thanks to frodo72 for explaining why I'm wrong.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: The Concept of References
by polettix (Vicar) on Apr 14, 2005 at 17:43 UTC | |
by revdiablo (Prior) on Apr 14, 2005 at 18:06 UTC | |
by polettix (Vicar) on Apr 14, 2005 at 18:13 UTC | |
by adrianh (Chancellor) on Apr 15, 2005 at 14:57 UTC | |
by Anonymous Monk on Apr 15, 2005 at 15:45 UTC | |
by adrianh (Chancellor) on Apr 15, 2005 at 16:04 UTC |