in reply to Re^3: unshift single scalar
in thread unshift single scalar

But you are aware that now the end of the list is the top of stack (push/pop) , while the OP considers the start as such? :)

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)