Mark J. Reed skribis 2006-08-23 17:43 (-0400):
> But is there an easy way in Perl6 to do it all in one go?  Should this work?
> my %h = @k [=>] @v;

Hyper is not [], but >><<. And >>=><< works perfectly in Pugs, and does
exactly what you describe.

[] is for reduction, and is prefix: [+] 1,2,3


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to