You want shift, or splice, not delete, which is for hashes.
Actually, delete also is documented to work on arrays, but it sets the array element to undef, which Tie::File turns into the empty string, which doesn't help you.
In reply to Re: Remove Lines from file
by Corion
in thread Remove Lines from file
by jreyesb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |