http://qs321.pair.com?node_id=63141


in reply to how can I collect x many elements from an array?

Use an array slice.
($x,@y[0..32],$z) = function();