Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: In-place bitwise NOT?

by Grimy (Pilgrim)
on Jul 27, 2013 at 16:56 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1046672]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found