unshift adds list to the beginning of @array, increasing @arrays length by the length of list. It then returns the new length of @array.
See also shift, push and pop.
Back to Perl
Log in or register to write something here or to contact authors.
Need help? firstname.lastname@example.org