Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: In-place bitwise NOT?

by Grimy (Pilgrim)
on Jul 27, 2013 at 16:56 UTC ( #1046672=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use feature say;
    
    ...
    say unpack "H*";    #  303132f04142430f0001ff
    for (my $i = length; $i--; vec($_, $i, 8) ^= ~0) {}
    say unpack "H*";    #  cfcecd0fbebdbcf0fffe00
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1046672]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2016-12-10 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (165 votes). Check out past polls.