in reply to Re^3: using bits to print part of a string.(bug)
in thread using bits to print part of a string

Thanks for catching the problem.

BTW, I had to change the condition in substrref to

while $mask =~ /1+/g
to get the same results as from the other methods.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ