# New Ticket Created by Rob Hoelz # Please include the string: [perl #125277] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=125277 >
For example: > my @array = 1, 2, 3; > my %hash = :foo(1), :bar(2); > > say $array[0]; # Variable '$array' is not declared. Did you mean any of these? > > say $hash{'foo'}; # Variable '$hash' is not declared. Did you mean any of > these? > > say $hash<foo>; # Variable '$hash' is not declared. Did you mean any of these? Granted, these error messages could be worse, but I think a "hey, I see you're used to Perl 5"-style message could be useful.