- or download this
#!/usr/bin/perl -l
use strict;
...
while( my @subset = $iter->() ) {
print "@subset";
}
- or download this
( sub { [ ( @_ ? $_ : 0 ) .. $#chars ] } ) x $k
- or download this
$ comb 10 10 | wc -l # with replacement
92378
$ comb -10 19 | wc -l # without replacement
92378
- or download this
#!/usr/bin/perl -l
use strict;
...
while( my @subset = $iter->() ) {
print "@subset";
}