On Sat, Jan 03, 2009 at 09:33:30AM -0800, Carl Mäsak wrote:
> <eric256> rakudo: my %test = (1 => <a b c>); my @word = <e f g>;
> (%test{1} X~X @word).perl.say
> <p6eval> rakudo 34889: OUTPUT«["a b ce", "a b cf", "a b cg"]␤»
> <eric256> it appears to be stringifying <a b c> before crossing
> it..any idea what i did wrong?
> * masak submits rakudobug

I think this is not a bug.  %test{1} is a scalar (arrayref), so
in list context it's a single-element list.  If you want to get
the values of that list, I think it needs to have .list or .values
or @%test{1} or something like that.  (We don't have the @-prefix
implemented yet, but it'll be coming soon after the rvar branch.)

Pm

Reply via email to