# New Ticket Created by  Alex Jakimenko 
# Please include the string:  [perl #128120]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128120 >


… Wait, you can use colons in variable names?… Anyway:

Code:
my $foo:::_ = 42; say $foo_:::_

Result:
===SORRY!=== Error while compiling -e
Variable '$foo_:_' is not declared. Did you mean '$foo:::_'?
at -e:1
------> my $foo:::_ = 42; say ⏏$foo_:::_


Well, yes, I meant '$foo:::_'. In fact, that's exactly what I wrote.


Related discussion about colons here: https://github.com/perl6/specs/issues/106

Reply via email to