Monky Python has asked for the wisdom of the Perl Monks concerning the following question:
does anybody knows a faster solution to remove a single element from an array?
The reason I'm asking is that I'm doing this in a nested loop and I'm a little bit worried about@mit2 = grep($_ ne $rname, @mit2);
MP
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: remove element from array
by davorg (Chancellor) on Sep 11, 2001 at 16:55 UTC | |
by Monky Python (Scribe) on Sep 11, 2001 at 17:44 UTC | |
|
Re: remove element from array
by George_Sherston (Vicar) on Sep 11, 2001 at 16:58 UTC | |
by demerphq (Chancellor) on Sep 11, 2001 at 20:38 UTC |