Seek_Knowledge has asked for the wisdom of the Perl Monks concerning the following question:
I want to find unique set in the above hash like belowpush(@{$hash{'Lemon'}}, 'Juice'); push(@{$hash{'Lemon'}}, 'Cake'); push(@{$hash{'Lemon'}}, 'Juice'); push(@{$hash{'Lemon'}}, 'Cake');
Please help me with thisLemon -> Juice Lemon -> Cake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unique key/value pair in Multiple key values pair in Hash
by choroba (Cardinal) on Feb 18, 2013 at 10:24 UTC | |
|
Re: Unique key/value pair in Multiple key values pair in Hash
by roboticus (Chancellor) on Feb 18, 2013 at 13:49 UTC | |
|
Re: Unique key/value pair in Multiple key values pair in Hash
by DrHyde (Prior) on Feb 18, 2013 at 11:47 UTC | |
|
Re: Unique key/value pair in Multiple key values pair in Hash
by BillKSmith (Monsignor) on Feb 18, 2013 at 13:43 UTC |