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.
In reply to Re^2: The Concept of References
by revdiablo
in thread The Concept of References
by leriksen
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |