Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Comparing hash data

by Prior Nacre V (Hermit)
on Oct 02, 2004 at 08:33 UTC ( [id://395859]=note: print w/replies, xml ) Need Help??

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;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://395859]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-06-17 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.