Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Regex Pattern Problem

by aardvark (Pilgrim)
on Feb 28, 2001 at 03:30 UTC ( #61228=note: print w/ replies, xml ) Need Help??

in reply to Regex Pattern Problem

If you want to create a new array from the old you may want to try;

my @good_stuff = grep (/^\d{5,}$/, @stuff);
You may also want to look at; Item 12: Use foreach, map and grep as appropriate in Effective Perl Programming.

Get Strong Together!!

Comment on Re: Regex Pattern Problem
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-07-10 23:38 GMT
Find Nodes?
    Voting Booth?

    When choosing user names for websites, I prefer to use:

    Results (217 votes), past polls