What is the role of the curly brace in this case in Perl? <p>The following <em>print</em> statements are valid in accessing the 1st element of the array reference</p> <pre><code>my $aref = [6, 7, 8]; print $aref-&gt;[0]; print $$aref[0]; print ${$aref}[0]; </code></pre> <p>What is the reason for allowing/using the curly brace in the 3rd print? Does it work by design or by chance?</p>