Hi
In the code, given below, the digits are separated using the colon, defined before the for loop. Now, if within the loop, I want to separate another set of numbers with a dot (period), how can I do it, since I can either define it as $"=':' or $"='.'
Thanks
$" = ':';
for (my $int = 1; $int <= 999999999999; $int++) {
my $leading = sprintf("%012d", $int);
my @split = ($leading =~ /../g);
print "@split\n";
}