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
Lost password
Sign Up
Need help? accounthelp@everything2.com