in reply to In-place bitwise NOT?
$bits =~ s/(.)/~$1/ges;
Nice. Thank you.
No. I'm dealing with multi-gigabyte bitstrings.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (283 votes). Check out past polls.