Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$unique_ids = scalar(grep {defined $_} @normal_array);
%HoA = ( flintstones => [ "fred", "barney","barney", "nick", "john", "barne +y" ], jetsons => [ "george", "jane", "elroy", "mike", "elias" ], simpsons => [ "homer", "marge", "bart", "jack", "homer" ], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unique elements in a Hash of Arrays?
by AppleFritter (Vicar) on Jul 13, 2014 at 18:48 UTC | |
by AnomalousMonk (Archbishop) on Jul 13, 2014 at 19:48 UTC | |
by Anonymous Monk on Jul 13, 2014 at 22:32 UTC | |
by AppleFritter (Vicar) on Jul 13, 2014 at 22:40 UTC | |
by Anonymous Monk on Jul 13, 2014 at 23:03 UTC | |
by AppleFritter (Vicar) on Jul 13, 2014 at 23:18 UTC |