Sorry, it did work. I just had a wrong puctuation.

Why does it seem like the things that should be easy just don't seem to be. I am trying to create a variable that contains the value of a previous variable. Shouldn't it just be

$x = $y

with $y now being whatever $x was..???