Help for this page

Select Code to Download


  1. or download this
    for my $x (@list) {
       do something with $x
    }
    
  2. or download this
    while (my ($x,$y) = splice(@list, 0, 2)) {
       do something with $x and $y
    }