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 ( #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? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2023-03-25 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?