Previous: unpack | Keywords | Next: untie |
unshift does the opposite of shift. It prepends list to the front of the array and returns the new number of elements in the array.
unshift ARRAY, LIST
unshift EXPRESSION, LIST
unshift(@ARGV, '-e') unless $ARGV[0] =~ /^-/;
Previous: unpack | Keywords | Next: untie |