In theory one can declare or use any name you like using Perl 6's explicit symbolic ref notation:
However, neither implementation does constant folding well enough yet to recognize these as a static variable names.my $::("-O'Malley's") = 42; say $::("-O'Malley's");
In reply to Re^3: Perl6: S2 identifier and $ special var questions
by TimToady
in thread Perl6: S2 identifier and $ special var questions
by rir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |