in reply to Remove Lines from file
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remove Lines from file
by ikegami (Patriarch) on Jul 14, 2009 at 19:45 UTC |