Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://61228]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2016-12-03 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.