Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Regex Pattern Problem

by aardvark (Pilgrim)
on Feb 28, 2001 at 03:30 UTC ( [id://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!!

Log In?
Username:
Password:

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

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

    No recent polls found