Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Deleting elements from array questions

by sauoq (Abbot)
on Aug 08, 2002 at 18:25 UTC ( [id://188683]=note: print w/replies, xml ) Need Help??


in reply to Re: Deleting elements from array questions
in thread Deleting elements from array questions

If you want to remove the elements from the array entirely, grep is the way [Emphasis added]

Well, grep is one way (and probably the one that will work best for the original question.) But splice is also a perfectly good way to remove elements from an array.

-sauoq
"My two cents aren't worth a dime.";
  • Comment on Re: Re: Deleting elements from array questions

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-25 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found