in reply to All possible number combinations in perl

all possible combinations of the number 1..n

Algorithm::Combinatorics

use Algorithm::Combinatorics qw[ combinations ];; for my $k ( 1 .. 3 ) { my $i = combinations( [ 1..3 ], $k ); print @$_ while defined( $_ = $i->next ); };; 1 2 3 1 2 1 3 2 3 1 2 3

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?