@fruit = qw(oranges apples banannas grapes);
but since I got my wisdom teeth taken out I want to removed apples. Is there a way to completely delete the 2nd element ($fruit[1]) so that everything after it is moved down and the array now reads like this:
@fruit = qw(oranges banannas grapes);
In reply to shifting the middle of an array? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |