So the value stored in $name ("foo") is unaltered, but we have created a new variable named $foo with a value of 1?
Please dont track me down and kill me!!!! (I feel like im going around in circles)
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.