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

Re^2: Remove array elements dynamically!

by suaveant (Parson)
on Aug 28, 2007 at 20:21 UTC ( [id://635675]=note: print w/replies, xml ) Need Help??


in reply to Re: Remove array elements dynamically!
in thread Remove array elements dynamically!

Ummm... you do realize that, while a valid example, nothing can ever be less than 4 AND greater than 10?
array = grep { $_ > 4 and $_ < 10 } @array;

                - Ant
                - Some of my best work - (1 2 3)

Replies are listed 'Best First'.
Re^3: Remove array elements dynamically!
by Joost (Canon) on Aug 28, 2007 at 20:23 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found