in reply to Regex Pattern Problem
If you want to create a new array from the old you may want to try;
Get Strong Together!!
You may also want to look at; Item 12: Use foreach, map and grep as appropriate in Effective Perl Programming.my @good_stuff = grep (/^\d{5,}$/, @stuff);
Get Strong Together!!
|
---|
In Section
Seekers of Perl Wisdom