Ok, please don't bash the new guy here. I have been learning perl for awhile, but nothing serious. I am starting to learn more, while creating some self programs. However, I can't seem to find anything good on comparing arrays, to suite what I require.
Pretty much, given:
@array_1 = ['x', 'y', 'z']
@array_2 = ['v', 'w', 'x']
I want to be able to compare these to arrays, and store the similar variables in each of them into @array_3 (which would be "x" in this case).
I know this is pretty basic stuff here compared to the rest of these questions, so please don't bash. Hey, I'm learning! :)