in reply to Re^2: Use grep with two arrays
in thread Use grep with two arrays
@array1 = @array1[+grep { $array1[$_] =~ /keep these/ } 0 .. $#array1 ]; @array2 = @array2[+grep { $array1[$_] =~ /keep these/ } 0 .. $#array1 ];
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Use grep with two arrays
by graff (Chancellor) on Feb 15, 2006 at 01:03 UTC | |
by QM (Parson) on Feb 15, 2006 at 20:53 UTC | |
|
Re^4: Use grep with two arrays
by mrborisguy (Hermit) on Feb 14, 2006 at 18:44 UTC |