- or download this
use strict;
use Algorithm::Loops qw( NestedLoops );
...
@bits[@ones]= (1) x $ones;
print join '', @bits, $/;
}
- or download this
my $bits= 8;
for my $o0 ( 0 .. $bits-1 ) {
...
}
}
}
- or download this
use strict;
use Algorithm::Loops qw( NestedLoops );
...
@bits[@ones]= (1) x $ones;
print join '', @bits, $/;
}