Sewi has asked for the wisdom of the Perl Monks concerning the following question:
I got a hash which ususally gets few or even no keys. It is given to some external module which may change it.
I'ld like to keep a copy before handing the hash to the external function and compare hash and copy after the function returns to detect if there are changes.
I'ld like to advoid writing a TIE-module for this.
Is there a module which creates a hash checksum? I searched CPAN but had no luck.
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hash compare or checksum
by moritz (Cardinal) on Sep 08, 2009 at 10:42 UTC | |
|
Re: Hash compare or checksum
by Your Mother (Archbishop) on Sep 08, 2009 at 16:27 UTC | |
|
Re: Hash compare or checksum
by BrowserUk (Patriarch) on Sep 08, 2009 at 16:46 UTC |