in reply to Deleting an array entry

my @array2 = "";

This is probably not what you want; it creates a single-element array.