Example:
Output would need to look like:my @array = (0..9); my $start = 4; my $end = 6;
0000 1000 1100 1010 1001 2000 2100 2010 2001 3000 3100 3010 3001 4000 .... ..... ...... ...... 999999Is there an easy or more efficient way of doing this? I want to have the generating start at the number of digits designated by $start and end when it gets to the number of digits designated by $end.
In reply to Generate sequential array element combos by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |