Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use strict; use Data::Compare; my $h1 = { 'FOO' => [ 'one', 'two' ] }; my $h2 = { 'FOO' => [ 'one', 'three' ] }; print 'structures of $h1 and $h2 are ', Compare($h1, $h2, { ignore_hash_keys => [qw(FOO)] }) ? '' : 'not ', "close enough to identical.\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Compare Data
by Khen1950fx (Canon) on Aug 03, 2011 at 05:57 UTC | |
|
Re: Compare Data
by JavaFan (Canon) on Aug 02, 2011 at 21:08 UTC | |
|
Re: Compare Data
by thewebsi (Scribe) on Aug 03, 2011 at 04:53 UTC |