Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Answer: how do I find the position of an element in an unknown array

by runrig (Abbot)
on Sep 21, 2001 at 23:00 UTC ( [id://113971]=note: print w/replies, xml ) Need Help??


in reply to Re: How do I find the position of an element in an array?
in thread How do I find the position of an element in an array?

That should probably be:
my @deletes = grep { evaluate($array[$_]) } 0..$#@array;
  • Comment on Re: Answer: how do I find the position of an element in an unknown array
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-24 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found