in reply to split number into seperate numbers and store in an array or seperate variables

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

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re: split number into seperate numbers and store in an array or seperate variables
  • Download Code