The Raku docs describe ::?CLASS
as a compile-time variable that answers "Which class am I in?". Then, a couple of paragraphs later, it mentions $?CLASS
, and says that it answers "Which class am I in? (as variable)".
What's the difference between these two variables? They often seem to contain the same value – do they always? Or are there differences I haven't observed?
class A { method foo($?CLASS:D:) { } }
:-) – Greater