Help for this page

Select Code to Download


  1. or download this
    for each line in File1,
        look at each line in File2
        and for each of the fields in the current line
    ...
            otherwise -
                fuggedaboudit
    print out a report of all the stuff I remembered
    
  2. or download this
    foreach (line in File1) {
        look at each line in File2;
        foreach (field in the current line) {
    ...
        }
    }
    print out a report of all the stuff I remembered;
    
  3. or download this
    my @files = ('File1','File2');
    my $file;
    foreach $file (@files) {
        do stuff with $file ...
    
  4. or download this
    foreach $file (File1..File2) {
        do stuff with $file ...
    
  5. or download this
    for (File1..File2) {
        do stuff with $_ ...