So the value stored in $name ("foo") is unaltered, but we have created a new variable named $foo with a value of 1?Exactly :-)
Note that we don't create $foo by assigning to $name, but by assignment to $$name (double $$s), you can also create @foo by assigning to @$name etc etc.
In reply to Re^5: Symbolic References
by Joost
in thread Symbolic References
by brickwall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |