in reply to Re^2: Perl delete function
in thread Perl delete function
Keys in hashes are unique, so you never had more than one "apple" in hash %m2.
But it's still unclear which logic you expect, because thats a perfect set operation.
Could it be that you want to compare arrays one by one by position?
Then please use a loop to do so.
Cheers Rolf
( addicted to the Perl Programming Language)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl delete function
by annel (Novice) on Dec 23, 2013 at 07:03 UTC | |
by hdb (Monsignor) on Dec 23, 2013 at 07:19 UTC | |
by annel (Novice) on Dec 23, 2013 at 07:39 UTC |
In Section
Seekers of Perl Wisdom