Help for this page

Select Code to Download


  1. or download this
    package List::Merger;
    @ISA         = qw(Exporter);
    ...
            return $next;
        };
    }
    
  2. or download this
    my $finish   = 'A val that is guaranteed not to be present in any list
    +';
    my @list     = (\@arr1, \@arr2, \@arr3, \@arr4, \@arr5);
    ...
        last if defined $item && $item eq $finish;
        print "$item\n";
    }
    
  3. or download this
    my $finish   = 'A val that is guaranteed not to be present in any list
    +';
    my @list     = ($fh1, $fh2, $fh3, $fh4, $fh5);
    ...
        last if defined $item && $item eq $finish;
        print "$item\n";
    }