note
LanX
<I>> That seems to be because a reference to a literal actually constructs a new scalar;</I><P>
again more theories ...<P>
see how the ref to a real constant like <C>a</C> stays stable in [id://11120366] and please explain the difference to your allegedly constant <C>1</C> .<P>
<I>> There is no such thing as a literal aggregate in Perl — the {} and [] operators are defined as constructors instead.</I><P>
Defined? ... Source?<P>
<div class="pmsig"><div class="pmsig-708738">
<!--nowiki--><p>Cheers Rolf<br>
<sub>(addicted to the Perl Programming Language :)
<br> <i> [id://1153804|Wikisyntax for the Monastery]</i>
</sub>
<!--nowiki-->
</div></div><!-- Wiki2Monks {"version":1.16} -->
11120285
11120369