FubarPA has asked for the wisdom of the Perl Monks concerning the following question:
In the %sql hash, I have the exact fieldname as the key, but in the %csv hash, I have the fieldname less the beginning (example: EMP_NAME vs. NAME). The data should be the same, which is what I'm checking for. Is there a simple way of comparing these two hashes, or am I going to have to check each field individually? Keep in mind I do need to show differences, if any. Any thoughts?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Comparing hash data
by cLive ;-) (Prior) on Oct 01, 2004 at 20:06 UTC | |
|
Re: Comparing hash data
by jZed (Prior) on Oct 01, 2004 at 20:08 UTC | |
|
Re: Comparing hash data
by diotalevi (Canon) on Oct 01, 2004 at 20:15 UTC | |
|
Re: Comparing hash data
by periapt (Hermit) on Oct 01, 2004 at 20:16 UTC | |
|
Re: Comparing hash data
by Prior Nacre V (Hermit) on Oct 02, 2004 at 08:33 UTC | |
|
Re: Comparing hash data
by Grygonos (Chaplain) on Oct 01, 2004 at 20:05 UTC | |
|
Re: Comparing hash data
by The_Rabbit (Acolyte) on Oct 01, 2004 at 20:05 UTC | |
by cLive ;-) (Prior) on Oct 01, 2004 at 20:12 UTC | |
by The_Rabbit (Acolyte) on Oct 01, 2004 at 20:21 UTC | |
by Grygonos (Chaplain) on Oct 01, 2004 at 20:56 UTC | |
by cLive ;-) (Prior) on Oct 01, 2004 at 21:27 UTC | |
by Grygonos (Chaplain) on Oct 02, 2004 at 02:42 UTC | |
by Grygonos (Chaplain) on Oct 01, 2004 at 20:07 UTC | |
|
Re: Comparing hash data
by TedPride (Priest) on Oct 02, 2004 at 05:53 UTC |