You can skip several of those steps:
my @n = split /\.|/, '00.55.55.00';; print for @n;; 0 0 5 5 5 5 0 0
In reply to Re: split number into seperate numbers and store in an array or seperate variables
by BrowserUk
in thread split number into seperate numbers and store in an array or seperate variables
by darienhuss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |