use strict; use warnings; my $string = '8602353907455755'; my @arr = $string =~ /../g; print "@arr";