in reply to manipulating arrays
@testListArray = grep {length} @testListArray; [download]
will run through the array and generate a new copy of the array omitting empty elements.