# New Ticket Created by  "Eric Hodges" 
# Please include the string:  [perl #62528]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62528 >


use v6;

rule test {test};

"test" ~~ /<test>/;
say '$/.keys => ', $/.keys.perl;
say '%($/).keys => ', %($/).keys.perl;

# outputs
# $/.keys => []
# %($/).keys => ["test"]


Same could be said for .values and .kv

It would be very DWIM for it to act like a hash in these cases by default.

Reply via email to