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


> (method { /foo/ })(2).perl
method /foo/

This .perl result does not parse as Perl code, and is therefore faulty.
Of the situations that I've tried, this only happens to Regex values
(not Int, Str, Pair, etc.), and only when the called function is declared
as a method (not sub, bare block, or pointy block).

-zefram

Reply via email to