Help for this page
use warnings; use strict; ... push @array, join '', @digits while NextPermute (@digits); print "@array";
123 132 213 231 312 321