in reply to The Concept of References
you get what looks like an address, that is only a convenient way of uniquely representing the thingy that $a refers to. You can't manipulate that string to make it refer to something else like you can in C - that is, you can't do pointer arithmetic.$a = \100; # $a is a reference to a scalar print $a;
Sometimes I wish you could.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: The Concept of References
by Forsaken (Friar) on Apr 14, 2005 at 12:10 UTC | |
by dragonchild (Archbishop) on Apr 14, 2005 at 12:43 UTC | |
by DrHyde (Prior) on Apr 15, 2005 at 08:48 UTC |