# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #130402] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=130402 >
role R[$p = fail("no argument to $?ROLE")] {}; my $i = 1 does R; # OUTPUT«===SORRY!=== Error while compiling <tmp>Variable '$?ROLE' is not declaredat <tmp>:1------> role R[$p = fail("no argument to ⏏$?ROLE")] {}; my $i = 1 does R;»