![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Aug 2007
Location: Australia
Posts: 4
OS: XP Pro
|
Hi guys
With perl, how can I compare every item in one array to every item in another array, looking to see if any of them match? I can't work it out. Say there's an array called @numbers1 with 10 different numbers in it, and another array called @numbers2 with 20 different numbers in it, how do I make a loop to find if the same number exists in both arrays, and print a message accordingly? |
|
|
|
| Sponsored Links |
![]() |
| Thread Tools | |
|
|