Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Diff on hashes

by reyjrar (Hermit)
on Nov 12, 2002 at 14:24 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-03-28 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found