Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Re: Learning Exercise

by FoncÚ (Scribe)
on Jul 18, 2002 at 13:02 UTC ( [id://182788]=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://182788]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 08:33 GMT
Find Nodes?
    Voting Booth?

    No recent polls found