Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Diff on hashes

by reyjrar (Hermit)
on Nov 12, 2002 at 14:24 UTC ( #212264=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %current,%last;
    
    ...
      $changes{$k} = $current{$k} unless
          $current{$k} eq $last{$k};
    }
    
  2. or download this
    my %current,%last,%keys;
    
    ...
       next unless(exists $current{$k});
       $keys{$k} = 1;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2023-02-05 14:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?