Help for this page

Select Code to Download


  1. or download this
    sub match_new_rpms() {
      # Iterate through a listing of updated RPM
    ...
      $fn =~ (s/\.noarch\.rpm//g);
      $fn =~ (s/\.athlon\.rpm//g);
      return $fn;
    
  2. or download this
    #! /usr/bin/perl -w
    
    ...
    for (my $i=0; $i < $count; $i++) {
      print "\t\@array[$i] = $array[$i]\n";
    }
    
  3. or download this
    #! /usr/bin/perl
    
    ...
            system(@args);
       }
    }
    
  4. or download this
    #! /usr/bin/perl -w
    
    ...
      }
      return %records;
    }
    
  5. or download this
    #! /usr/bin/perl
    
    ...
    
    close(SENDMAIL) or warn "Oops, sendmail did not close nicely";
    }