http://qs321.pair.com?node_id=182788


in reply to Re: Learning Exercise
in thread Learning Exercise

I'd really prefer not to make another file, but that does sound feasible. I'll look into that stuff when I learn a little more.

In the meantime...*scours the Llama for ideas*

<idea>I'm basically trying to delete a line (which I will be loading into an array, thus, giving it an index with which to remove it by) and then shifting the entries thereafter, but not the ones before the entry I'm removing...

Any ideas on doing that?

Replies are listed 'Best First'.
Re: Re: Re: Learning Exercise
by Spudnuts (Pilgrim) on Jul 18, 2002 at 14:42 UTC
    You might want to read the perldoc for grep() for a way to remove an entry from an array based on known content.