in reply to
Changing a bit in a string
Looks to me that the following does the job:
$address -= 16 if $address & 16;
[download]
Cheers,
Rob
Comment on
Re: Changing a bit in a string
Download
Code
In Section
Seekers of Perl Wisdom