Re: [perl #131826] Hash slice with structured list does not come out structured

2017-08-01 Thread Elizabeth Mattijsen
> On 1 Aug 2017, at 14:36, Zoffix Znet via RT > wrote: > > Turns out the rabbit hole goes deeper. Adverbs appear to not work if slice is > structured: > >my %a = 'a'..'z'; >dd %a{, (, ('m', ('o')))}:kv; # OUTPUT: () >%a{, (, ('m', ('o')))}:delete; >dd +%a.keys; # OUTPUT: 13 >

Re: [perl #131826] Hash slice with structured list does not come out structured

2017-08-01 Thread Elizabeth Mattijsen via RT
> On 1 Aug 2017, at 14:36, Zoffix Znet via RT > wrote: > > Turns out the rabbit hole goes deeper. Adverbs appear to not work if slice is > structured: > >my %a = 'a'..'z'; >dd %a{, (, ('m', ('o')))}:kv; # OUTPUT: () >%a{, (, ('m', ('o')))}:delete; >dd +%a.keys; # OUTPUT: 13 >

[perl #131826] Hash slice with structured list does not come out structured

2017-08-01 Thread Zoffix Znet via RT
Turns out the rabbit hole goes deeper. Adverbs appear to not work if slice is structured: my %a = 'a'..'z'; dd %a{, (, ('m', ('o')))}:kv; # OUTPUT: () %a{, (, ('m', ('o')))}:delete; dd +%a.keys; # OUTPUT: 13 Shouldn't it give structured `kv` data back and delete at least some ke

[perl #131826] Hash slice with structured list does not come out structured

2017-08-01 Thread Zoffix Znet via RT
Turns out the rabbit hole goes deeper. Adverbs appear to not work if slice is structured: my %a = 'a'..'z'; dd %a{, (, ('m', ('o')))}:kv; # OUTPUT: () %a{, (, ('m', ('o')))}:delete; dd +%a.keys; # OUTPUT: 13 Shouldn't it give structured `kv` data back and delete at least some ke

[perl #131826] Hash slice with structured list does not come out structured

2017-08-01 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131826] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131826 > If you give a structured list as an Array slice, you get structured data back: my @a