Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Applying regex to array

by si_lence (Deacon)
on Nov 24, 2004 at 10:39 UTC ( [id://410106]=note: print w/replies, xml ) Need Help??


in reply to Applying regex to array

You can use map or grep as shown by chb and howie.
But this just makes the loop implicit.
Depending on your way of thinking and reading code it might
be easier to see what is going on with your original construct.
Just a thought.
si_lence

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (11)
As of 2024-04-18 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found