Name

unshift

Synopsis

unshift @array, list
                  

Prepends the elements of list to the front of the array and returns the new number of elements in the array.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.