If 0 is included in digits, one can use variations.
$ perl -MAlgorithm::Combinatorics=:all -le 'print @$_ for variations [reverse 0..9], 9;'In reply to Re^2: Perl program to generate a descending order of 9-unique digit numbers
by Anonymous Monk
in thread Perl program to generate a descending order of 9-unique digit numbers
by amar712
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |