![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: How can I set a bit to 0 ?by ikegami (Patriarch) |
on May 26, 2022 at 16:37 UTC ( #11144201=note: print w/replies, xml ) | Need Help?? |
Set:
Clear:
Toggle:
Read (returns a true value or a false value):
It looks like you have constants that are already of the form 1 << $bit_num, so
In Section
Seekers of Perl Wisdom
|
|