# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130092] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=130092 >
*Code:* class Foo { meathod bar($name) {} } *Result:* ===SORRY!=== Error while compiling -e Variable '$name' is not declared at -e:2 ------> meathod bar(⏏$name) {} The error message is not wrong, but we have at least one case where somebody was struggling to find the actual issue. Perhaps it can be smart enough to figure it out. See also IRC log: https://irclog.perlgeek.de/perl6/2016-11-14#i_13561822