in reply to Putting an elemnt in first position in array.

my @array = ("apple","ball","cat","dog","elephant"); unshift @array, 'dog';
Apparently, This is not what the OP wanted.