Help for this page

Select Code to Download


  1. or download this
    while(@arr) {
        my ($x,$y) = (shift(@arr), shift(@arr));
        ...
        }
    
  2. or download this
    use List::MoreUtils qw(natatime);
    ;;
    ...
    while (my ($x, $y) = $it->()) {
        ...
        }