On Thu Jan 01 10:16:14 2009, dave.wh...@gmail.com wrote: > I've been trying to figure out how to do a "($hd, @tl) = @list" assignments. > > ./perl6 -e ' > my @list = 1,2,3; > my ($hd, @tl) = @list; > say ([$hd], [...@tl]).perl > ' > [[1], []]
Now working as of 35397: $ cat x my @list = 1,2,3; my ($hd, @t1) = @list; say ([$hd], [...@t1]).perl; $ ./parrot perl6.pbc x [[1], [2, 3]] $ I'm pretty sure tests exist for this already, or that this is being handled by another ticket, so resolving ticket. Thanks! Pm