Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

push

Perl 5 version 10.1 documentation
Recently read

push

  • push ARRAY,LIST

    Treats ARRAY as a stack, and pushes the values of LIST onto the end of ARRAY. The length of ARRAY increases by the length of LIST. Has the same effect as

    1. for $value (LIST) {
    2. $ARRAY[++$#ARRAY] = $value;
    3. }

    but is more efficient. Returns the number of elements in the array following the completed push.