Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Generate all unique combinations of 1 and 0 using specified length of "0"-string and count of 1'sby tybalt89 (Monsignor) |
on Sep 18, 2020 at 09:11 UTC ( [id://11121903]=note: print w/replies, xml ) | Need Help?? |
Fun with regex :)
UPDATE: removed a useless join
In Section
Seekers of Perl Wisdom
|
|