|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^2: Search in array from match in another array, print once only.by satans-nightmare (Initiate) |
| on Feb 22, 2013 at 09:28 UTC ( [id://1020112]=note: print w/replies, xml ) | Need Help?? |
|
Ah awesome, you guys rock! Don't know how I did not think of doing that.
Thanks a million guys!
Once last question.
In some instances the file will have an entry twice in the original array .how can I match to print the string once but also print that I found it twice.
for instance
found 12345 (2 matches)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||