
thodi
stranger
Dec 31, 2002, 3:35 AM
Post #4 of 5
(279 views)
|
|
Re: [Paul] moving an element out of many arrays
[In reply to]
|
Can't Post
|
|
That's only using one array, I think you mean... @tmp = grep { $_ ne '#' } (@A_tmp, @B_tmp, @C_tmp); No, I don't :-) Your solution leaves him with only one array afterwards, and the "source" arrays are unmodified. If that's what he wants -- fine, but I think he wants to keep his three arrays and just modify them in place.
|