in reply to array splice to retrieve specific records

while (scalar(@records)<6){push @records,{...};}