Why? Because that's the most efficient way of doing it, I'd gather
Rather than some clever efficiency thing, I'd have thought it was simply because {} returns a scalar value. ('A') x 10 would give you 10 copies of the string 'A'. Similarly ( {} ) x 10 gives you 10 copies of a reference to a particular anonymous hash.
In reply to Re^4: Why is my data structure wrong?
by grantm
in thread Why is my data structure wrong?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |