in reply to shifting the middle of an array?
@fruit = qw(oranges apples banannas grapes); $remove = 'apples'; @fruit = grep {$_ ne $remove} @fruit; [download]