http://qs321.pair.com?node_id=1035576

lddzjwwy has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I have now a long binary string like $bin = 1001100010100001 and I want to change it to sth. like 1001 1000 1010 0001. What is the best way to achieve this? Thanks a lot.