my @numbers = split /\D+/, $results;
The problem with this is that it creates an extra empty element at the beginning of the @numbers array. Go for the RE solution.
just another dave
In reply to Re: Re: Parsing String
by Not_a_Number
in thread Parsing String
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |