# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #131201] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=131201 >
Code: class A { proto method x { * }; }; A.x Result: Use of uninitialized value of type Any in string context. Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful. in block <unit> at -e line 4 Cannot resolve caller x(A); none of these signatures match: in block <unit> at -e line 4 First of all, it says “none of these signatures match:” and then it prints the line number. There are no signatures, I get it, but the error message is ugly. Also, “Use of uninitialized value of type Any in string context.” does not seem to be coming from the user code, I guess it happens during the error message generation, but I could be wrong.