in reply to Re: Compare Two Hash refs of Hashes
in thread Compare Two Hash refs of Hashes
Here is my requirement and basically want to update the Database
I want all the keys and values from the hash refs.
Compare $old and $new and
~ get any new keys which should be INSERTED into DB
~ get common keys, but again check for any changes in their values. If so UPDATE DB
~ get the missing keys in $new with that of $old. If so, DELETE from DB
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Compare Two Hash refs of Hashes
by jethro (Monsignor) on Jul 15, 2010 at 13:11 UTC | |
by kalyanrajsista (Scribe) on Jul 16, 2010 at 16:57 UTC | |
by jethro (Monsignor) on Jul 16, 2010 at 23:39 UTC | |
|
Re^3: Compare Two Hash refs of Hashes
by LanX (Saint) on Jul 15, 2010 at 10:29 UTC |