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

perldoc -f unshift