in reply to How do I delete a row of an array
Look for the splice function. It's like substr except it works on arrays.
splice( @foo, $i, 1 ) is probably what you are looking for. Don't use delete, the behaviour depends on what version of Perl you are using.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I delete a row of an array (use splice, not delete)
by fletcher_the_dog (Friar) on Oct 09, 2003 at 15:54 UTC | |
by Anonymous Monk on Oct 09, 2003 at 19:12 UTC |