> I don't see why I'd want to do it with arrays, but... > > %a_students = %grades{grep /^a/i, keys %grades};
Looks like that's just the same as %a_students = grep {.key ~~ :i/^a/}, %grades.kv; (after adjusting for perl6 syntax for a few things) -- Adam Lopresto ([EMAIL PROTECTED]) http://cec.wustl.edu/~adam/ Aleph-null bottles of beer on the wall, Aleph-null bottles of beer, You take one down, and pass it around, Aleph-null bottles of beer on the wall.