in reply to Re^2: Odd number of elements in anon hash
in thread Odd number of elements in anon hash

[ ... ] returns a reference to an anonymous array.

{ ... } returns a reference to an anonymous hash.  In the appropriate syntactic context like assignment, that is.  Curlies are used for various things, for example a block, or to group/disambiguate when dereferencing, like @{ $obj->method_that_returns_an_arrayref() }.