Help for this page

Select Code to Download


  1. or download this
    # hash_key_cmp
    
    ...
    print 'Not in CVS:    ', "@not_in_cvs", "\n";
    print 'Valid in both: ', "@valid_in_both", "\n";
    print 'Bad in both:   ', "@bad_in_both", "\n";
    
  2. or download this
    [ ~/tmp ] $ perl hash_key_cmp
    Not in SQL:    c k
    ...
    Valid in both: b d e i j l
    Bad in both:   f g h
    [ ~/tmp ] $
    
  3. or download this
    map { exists($CVS{substr $_, $prefix_len}) || push(@not_in_cvs, $_) } 
    +keys %SQL;