my $txt = '123'; local $"=','; my @array = glob( "{@{[ split(//,$txt)]}}" x length($txt) ); print Dumper \@array ;
In reply to Re: Getting combinations from a number's digits
by ioannis
in thread Getting combinations from a number's digits
by PerceptiveJohn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |