in reply to Re: compare previous and present hash key values
in thread compare previous and present hash key values
Thanks for your reply. The compare will be something like :
my @a = ( 100, 112,123, 333, 500 ); my @b = ( 100, 333, 500 ); my %b = map { $_ => 1 } @b; my @missing = grep { !$b{$_} } @a;
Which should give, in that case "112" and "123"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: compare previous and present hash key values
by NetWallah (Canon) on Jan 11, 2014 at 15:28 UTC | |
by undisputed (Initiate) on Jan 11, 2014 at 15:44 UTC | |
by NetWallah (Canon) on Jan 11, 2014 at 16:57 UTC |