Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found