On 9 Mar 2023, at 19:42, Branislav Zahradník <happy.barney@gmail.com> wrote: […] > - should there be an mechanism to turn it on/off in runtime?, eg > my $var = { ... }; > foo ($var : const); > $var->{bar} //= default value; > return $bar; […] > - can it be localized? If localized, should it still be "deep constant” ? If some other code can mess with a “constant” in this way, I don’t want to use it. The point of declaring something a constant is so you can safely rely on it not changing! Sam -- Website: http://www.illuminated.co.uk/Thread Previous | Thread Next