Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How can I set a bit to 0 ?

by ikegami (Patriarch)
on May 26, 2022 at 16:37 UTC ( [id://11144201]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $flags |= 1 << $bit_num;
    
  2. or download this
    $flags &= ~( 1 << $bit_num );
    
  3. or download this
    $flags ^= 1 << $bit_num;
    
  4. or download this
    $flags & ( 1 << $bit_num )
    
  5. or download this
    $stats &= ~downLoading;   # No longer downloading.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11144201]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found