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.In reply to Re: How do I delete a row of an array (use splice, not delete)
by grinder
in thread How do I delete a row of an array
by TwitchyEye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |