skalman has asked for the wisdom of the Perl Monks concerning the following question:
Hi I´m extremely new to Perl and need help with this problem. I have two arrays that consists of usernames. One of the arrays only consists of one username of each and the second one consists of multiples of the same usernames fond i array1. How to compare these two arrays and count how many times each element is found in array two. I allso want to print the results Example output
user1:1 user2:3 user3:9
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Compare elements from two arrays and count
by toolic (Bishop) on Apr 24, 2015 at 14:48 UTC | |
|
Re: Compare elements from two arrays and count
by flexvault (Monsignor) on Apr 24, 2015 at 15:13 UTC | |
by Laurent_R (Canon) on Apr 24, 2015 at 17:14 UTC | |
by flexvault (Monsignor) on Apr 24, 2015 at 19:07 UTC | |
|
Re: Compare elements from two arrays and count
by davido (Cardinal) on Apr 26, 2015 at 05:21 UTC |