in reply to Re^4: help needed in storing the return values of unpack
in thread help needed in storing the return values of unpack

Ooops - I thought that U returned a Unicode string and not single items, so my answer is wrong. You should go with GrandFather's approach and move the 20 items out of the array later:

my @items = unpack "...", $string; my @first = splice @items, 0, 20;