the first removes curly braces from a simple name variable, ${x} -> $x and the second does the opposite $x -> ${x}