For example, i have @array1 and @array2. By using: @array1 = grep(!some regexp, @array1);
if the regexp will remove the 3rd element from @array1 how can i remove the 3rd element from @array2 as well?
I don't really know in which positions my elements are that i will want to remove. Thanks for your help in advance
In reply to Use grep with two arrays by lampros21_7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |