The stupid question is the question not asked | |
PerlMonks |
Re^3: Perl6: S2 identifier and $ special var questionsby TimToady (Parson) |
on Sep 14, 2011 at 18:19 UTC ( [id://925973]=note: print w/replies, xml ) | Need Help?? |
You may not start an identifier with - like that; hyphens and apostrophes are only allowed internally.
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.
In Section
Seekers of Perl Wisdom
|
|