${var} and $var are the same thing in an interpolation. People use the first form if the next thing after it is an identifier:
say "${var}foo"; # interpolates $var, adds literal foo say "$varfoo"; # interpolates $varfoo
So in your case there's no reason to write it, but it seems the author deemed the form with curlies safer.
In reply to Re: what is the use of derefernce in substitution?
by moritz
in thread what is the use of derefernce in substitution?
by tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |