in reply to Completing a list/ array?

Well, you loop, see perlintro