Help for this page

Select Code to Download


  1. or download this
    my @x = (1, 2, 3, 4);
    my @y = ();
    
  2. or download this
    push @y, \@x;
    
  3. or download this
    push @y, @x;
    
  4. or download this
    $z = pop @y;
    @x = @{$z}; # or @$z