Somehow it is not working properly.
In what way did it not work? What did you do to debug it?
Show your code!
And read How (Not) To Ask A Question.
(hints: vec and/or the bit shift and logical bit operators described in perlop might be useful).
In reply to Re: Changing a bit in a string
by moritz
in thread Changing a bit in a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |