Also, you are forgetting a /g modifier on your regex:$data[23] =~ s/-/\.\./; # convert - to .. perl syntax ^^^^^ ... push(@range,eval $array[23]); # i expanded here ^^^^^^
Those two changes should fix your problem.$data[23] =~ s/-/\.\./g;
In reply to Re: Array Exclusion Operationss
by pc88mxer
in thread Array Exclusion Operationss
by harishnuti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |