in reply to Splitting array into two with a regex
my @no; my @ok = grep { $_->name =~ m/[0-9][0-9]$/ or !push(@no, $_) }@{ $rec- +>vals };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Splitting array into two with a regex
by reasonablekeith (Deacon) on Nov 08, 2005 at 16:12 UTC |